Skip to content

Commit

Permalink
1.16.5 Update + Fixes to the Tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
CoccodrillooXDS committed Feb 26, 2021
1 parent 40be34d commit ce9afba
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ bin/
# fabric

run/
logs/latest.log
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# VM Computers
###### I spent my whole quarantine working on this.
#### Made with the SDK of and tested with VirtualBox 6.1.8, you need a VirtualBox version that starts with "6.1" for the mod to work.
#### Install [Fabric](https://fabricmc.net/use/) for Minecraft 1.15.2 and [the Fabric API mod](https://www.curseforge.com/minecraft/mc-mods/fabric-api) to load the mod .jar (.jar goes in .minecraft/mods)
#### Install [Fabric](https://fabricmc.net/use/) for Minecraft 1.16.5 and [the Fabric API mod](https://www.curseforge.com/minecraft/mc-mods/fabric-api) to load the mod .jar (.jar goes in .minecraft/mods)
#### You can donate in BTC to the address 3GubEkHV69gCkjWhRgRWYqWqyjcWW3gxFF, maybe using PayPal later.
## How to use
### Ordering
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.16.4
yarn_mappings=1.16.4+build.6
loader_version=0.10.6+build.214
minecraft_version=1.16.5
yarn_mappings=1.16.5+build.1
loader_version=0.11.0

# Mod Properties
mod_version = 1.4.13
mod_version = 1.4.14
maven_group = deltatwoforce
archives_base_name = mcvmcomputers

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.25.1+build.416-1.16
fabric_version=0.29.4+1.16
6 changes: 3 additions & 3 deletions src/main/java/mcvmcomputers/client/tablet/TabletOS.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public void render() {
for(OrderableItem oi : PC_PARTS) {
int offX = 0;
g2d.setFont(font.deriveFont(23f)); offY += 20;
g2d.drawString(oi.getName().asString(), (270+offX)-shopPx, offY-shopPy);
g2d.drawString(oi.getName().getString(), (270+offX)-shopPx, offY-shopPy);
g2d.setFont(font.deriveFont(16f)); offY += 10; offX = 10;
int inCart = 0;
for(OrderableItem io : shoppingCart) {
Expand Down Expand Up @@ -312,7 +312,7 @@ public void render() {
for(OrderableItem oi : shoppingCart) {
int offX = 0;
g2d.setFont(font.deriveFont(23f)); offY += 20;
g2d.drawString(oi.getName().asString(), (270+offX)-shopPx, offY-shopPy);
g2d.drawString(oi.getName().getString(), (270+offX)-shopPx, offY-shopPy);
g2d.setFont(font.deriveFont(16f)); offY += 10; offX = 10;
g2d.drawString(oi.getPrice() + " Iron Ingots | enter to remove", (270+offX)-shopPx, offY-shopPy);
sum += oi.getPrice();
Expand Down Expand Up @@ -365,7 +365,7 @@ public void render() {
for(OrderableItem oi : PERIPHERALS) {
int offX = 0;
g2d.setFont(font.deriveFont(23f)); offY += 20;
g2d.drawString(oi.getName().asString(), (270+offX)-shopPx, offY-shopPy);
g2d.drawString(oi.getName().getString(), (270+offX)-shopPx, offY-shopPy);
g2d.setFont(font.deriveFont(16f)); offY += 10; offX = 10;
int inCart = 0;
for(OrderableItem io : shoppingCart) {
Expand Down
Binary file modified src/main/resources/assets/mcvmcomputers/font/tabletfont.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/resources/assets/mcvmcomputers/lang/it_it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"itemGroup.mcvmcomputers.peripherals": "VM Computers: Periferiche",
"itemGroup.mcvmcomputers.others": "VM Computers: Altro",
"item.mcvmcomputers.pc_case_sidepanel": "Case PC con Pannello Laterale di Vetro",
"item.mcvmcomputers.motherboard": "Scheda Madre a 32-bit",
"item.mcvmcomputers.motherboard": "Schedà Madrè üa 32-bit",
"item.mcvmcomputers.motherboard64": "Scheda Madre a 64-bit",
"item.mcvmcomputers.harddrive": "Disco Rigido",
"item.mcvmcomputers.ram64m": "Banco di RAM da 64MB",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"depends": {
"fabricloader": ">=0.10.0",
"fabric": "*",
"minecraft": "1.16.4"
"minecraft": "1.16.5"
},
"suggests": {
"flamingo": "*"
Expand Down

0 comments on commit ce9afba

Please sign in to comment.