Skip to content

Commit 369054a

Browse files
authored
Merge branch 'GTNewHorizons:master' into master
2 parents 24bd823 + 66d42d8 commit 369054a

7 files changed

Lines changed: 211 additions & 54 deletions

File tree

dependencies.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Add your dependencies here
22

33
dependencies {
4-
api("com.github.GTNewHorizons:waila:1.8.4:dev")
5-
api("com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev")
4+
api("com.github.GTNewHorizons:waila:1.9.0:dev")
5+
api("com.github.GTNewHorizons:NotEnoughItems:2.8.8-GTNH:dev")
66

7-
devOnlyNonPublishable("com.github.GTNewHorizons:TinkersConstruct:1.13.21-GTNH:dev")
7+
devOnlyNonPublishable("com.github.GTNewHorizons:TinkersConstruct:1.14.4-GTNH:dev")
88
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ modrinthProjectId =
151151
# type can be one of [project, version],
152152
# and the name is the Modrinth project or version slug/id of the other mod.
153153
# Example: required-project:fplib;optional-project:gasstation;incompatible-project:gregtech
154-
# Note: GTNH Mixins is automatically set as a required dependency if usesMixins = true
154+
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
155155
modrinthRelations =
156156

157157
# Publishing to CurseForge requires you to set the CURSEFORGE_TOKEN environment variable to one of your CurseForge API tokens.

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pluginManagement {
1717
}
1818

1919
plugins {
20-
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.38'
20+
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.43'
2121
}
2222

2323

src/main/java/com/darkona/adventurebackpack/AdventureBackpack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
name = ModInfo.MOD_NAME,
3636
version = ModInfo.MOD_VERSION,
3737
guiFactory = ModInfo.GUI_FACTORY_CLASS,
38-
dependencies = "required-after:CodeChickenCore@[1.0.7.47,)")
38+
dependencies = "required-after:CodeChickenCore@[1.0.7.47,);" + "after:TConstruct@[1.14.4,);")
3939
public class AdventureBackpack {
4040

4141
@SidedProxy(clientSide = ModInfo.MOD_CLIENT_PROXY, serverSide = ModInfo.MOD_SERVER_PROXY)

src/main/java/com/darkona/adventurebackpack/handlers/RenderHandler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,5 @@ public void playerSpecialsRendering(RenderPlayerEvent.Specials.Pre event) {
2525
float pitch = event.entity.rotationPitch;
2626
float yaw = event.entity.rotationYaw;
2727
ClientProxy.rendererWearableEquipped.render(event.entity, x, y, z, rotationX, rotationY, rotationZ, pitch, yaw);
28-
29-
event.renderCape = false;
3028
}
3129
}

src/main/java/com/darkona/adventurebackpack/util/TConstructTab.java

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44

55
import net.minecraft.client.Minecraft;
66
import net.minecraft.client.entity.EntityClientPlayerMP;
7-
import net.minecraft.client.renderer.RenderHelper;
87
import net.minecraft.client.renderer.entity.RenderItem;
9-
import net.minecraft.item.ItemStack;
108
import net.minecraft.util.ResourceLocation;
119

12-
import org.lwjgl.opengl.GL11;
13-
import org.lwjgl.opengl.GL12;
14-
1510
import com.darkona.adventurebackpack.init.ModNetwork;
1611
import com.darkona.adventurebackpack.network.GUIPacket;
1712
import com.darkona.adventurebackpack.reference.BackpackTypes;
@@ -60,49 +55,9 @@ public boolean shouldAddToList() {
6055
return Wearing.isWearingWearable(Minecraft.getMinecraft().thePlayer);
6156
}
6257

63-
/**
64-
* Draws this button to the screen. Code from TinkersConstruct and modified for dynamic and depth-enabled
65-
* backpack rendering
66-
*/
6758
@Override
6859
public void drawButton(Minecraft mc, int mouseX, int mouseY) {
69-
if (this.visible) {
70-
ItemStack renderStack = Wearing.getWearingWearable(Minecraft.getMinecraft().thePlayer);
71-
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
72-
73-
int yTexPos = this.enabled ? 3 : 32;
74-
int ySize = this.enabled ? 25 : 32;
75-
int xOffset = this.id == 2 ? 0 : 1;
76-
int yPos = this.yPosition + (this.enabled ? 3 : 0);
77-
78-
mc.renderEngine.bindTexture(texture);
79-
this.drawTexturedModalRect(this.xPosition, yPos, xOffset * 28, yTexPos, 28, ySize);
80-
81-
RenderHelper.enableGUIStandardItemLighting();
82-
this.zLevel = 100.0F;
83-
itemRenderer.zLevel = 100.0F;
84-
GL11.glEnable(GL11.GL_LIGHTING);
85-
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
86-
GL11.glEnable(GL11.GL_DEPTH_TEST);
87-
itemRenderer.renderItemAndEffectIntoGUI(
88-
mc.fontRenderer,
89-
mc.renderEngine,
90-
renderStack,
91-
xPosition + 6,
92-
yPosition + 8);
93-
itemRenderer.renderItemOverlayIntoGUI(
94-
mc.fontRenderer,
95-
mc.renderEngine,
96-
renderStack,
97-
xPosition + 6,
98-
yPosition + 8);
99-
GL11.glDisable(GL11.GL_DEPTH_TEST);
100-
GL11.glDisable(GL11.GL_LIGHTING);
101-
GL11.glEnable(GL11.GL_BLEND);
102-
itemRenderer.zLevel = 0.0F;
103-
this.zLevel = 0.0F;
104-
RenderHelper.disableStandardItemLighting();
105-
}
60+
drawButton(mc, Wearing.getWearingWearable(mc.thePlayer), true);
10661
}
10762
}
10863
}
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
# Items THIS IS ALL UPDATED ALL OF THE OTHER LANGUAGE IS NOT
2+
3+
## Component Items For Crafting
4+
item.adventurebackpack:backpackComponent.name=Rucksackteil
5+
item.adventurebackpack:sleepingBag.name=Schlafsack
6+
item.adventurebackpack:backpackTank.name=Rucksacktank
7+
item.adventurebackpack:macheteHandle.name=Machetengriff
8+
item.adventurebackpack:hoseHead.name=Schlauchtülle
9+
item.adventurebackpack:copterEngine.name=Zweikolpen-Dieselmotor
10+
item.adventurebackpack:copterBlades.name=Heliflügel
11+
item.adventurebackpack:hydroBlades.name=Hydroschraube
12+
item.adventurebackpack:inflatableBoat.name=Schlauchboot
13+
item.adventurebackpack:inflatableBoatMotorized.name=Motorschlauchboot
14+
15+
## Entity
16+
entity.adventurebackpack.inflatableBoat.name=Schlauchboot
17+
entity.adventurebackpack.rideableSpider.name=Reitbare Spinne
18+
19+
## Tools and consumables
20+
item.adventurebackpack:clockworkCrossbow.name=Aufzieharmbrust
21+
item.adventurebackpack:melonJuiceBottle.name=Melonensaftflasche
22+
item.adventurebackpack:machete.name=Machete
23+
24+
item.adventurebackpack:backpackHose.name=Rucksackschlauch
25+
item.adventurebackpack:hose_leftTank_suck.name=Schlauch: Linker Tank / Saugmodus
26+
item.adventurebackpack:hose_leftTank_spill.name=Schlauch: Linker Tank / Ausschüttmodus
27+
item.adventurebackpack:hose_leftTank_drink.name=Schlauch: Linker Tank / Trinkmodus
28+
29+
item.adventurebackpack:hose_rightTank_suck.name=Schlauch: Rechter Tank / Saugmodus
30+
item.adventurebackpack:hose_rightTank_spill.name=Schlauch: Rechter Tank / Ausschüttmodus
31+
item.adventurebackpack:hose_rightTank_drink.name=Schlauch: Rechter Tank / Trinkmodus
32+
item.adventurebackpack:hoseUseless.name=Schlauch: Nutzlos / Kein Rucksack
33+
34+
## Wearables
35+
item.adventurebackpack:adventureBackpack.name=Abenteurerrucksack
36+
item.adventurebackpack:copterPack.name=Helirucksack
37+
item.adventurebackpack:coalJetpack.name=Kohlejetpack
38+
39+
## Armor
40+
item.adventurebackpack:adventureHat.name=Fedora des Abenteurers
41+
item.adventurebackpack:adventureSuit.name=Anzug des Abenteurers
42+
item.adventurebackpack:adventurePants.name=Hose des Abenteurers
43+
item.adventurebackpack:pistonBoots.name=Kolbenstiefel
44+
45+
## Blocks
46+
blockAdventureBackpack.name=Abenteurerrucksack
47+
blockCampFire.name=Lagerfeuer
48+
blockSleepingBag.name=Schlafsack
49+
50+
## CreativeTab
51+
itemGroup.adventurebackpack=Adventure Backpack Mod
52+
53+
## Keybindings
54+
keys.adventureBackpack.category=Adventure Backpack
55+
keys.adventureBackpack.openInventory=Inventar öffnen
56+
keys.adventureBackpack.toggleActions=Aktionen an/ausschalten
57+
58+
## Fluids
59+
fluid.melonJuice=Melonensaft
60+
fluid.milk=Milch
61+
fluid.mushrromstew=Pilzsuppe
62+
63+
## Messages
64+
adventurebackpack:messages.already.equipped.backpack=Du hast schon einen Rucksack an.
65+
adventurebackpack:messages.already.equipped.copterpack=Du hast schon einen Helirucksack an.
66+
adventurebackpack:messages.already.equipped.jetpack=Du hast schon ein Kohlejetpack an.
67+
adventurebackpack:messages.already.impossibru=Du trägst keinen Rucksack.
68+
adventurebackpack:messages.backpack.cant.bag=Du kannst hier keinen Schlafsack ausrollen! Schau dich in der Umgebung um.
69+
adventurebackpack:messages.cant.sleep.here=Uralte Kräfte lassen dich hier nicht schlafen.
70+
adventurebackpack:messages.copterpack.hover=Helirucksack: Schwebemodus.
71+
adventurebackpack:messages.copterpack.normal=Helirucksack: Normaler Modus.
72+
adventurebackpack:messages.copterpack.outoffuel=Helirucksack: Kein Sprit.
73+
adventurebackpack:messages.copterpack.cantwater=Helirucksack: Funktioniert nicht im Wasser.
74+
adventurebackpack:messages.copterpack.off=Helirucksack: Aus.
75+
adventurebackpack:messages.jetpack.on=Kohlejetpack: An.
76+
adventurebackpack:messages.jetpack.off=Kohlejetpack: Aus.
77+
adventurebackpack:messages.nightvision.on=Nachtsicht: An.
78+
adventurebackpack:messages.nightvision.off=Nachtsicht: Aus.
79+
adventurebackpack:messages.cycling.on=Werkzeugtausch: An.
80+
adventurebackpack:messages.cycling.off=Werkzeugtausch: Aus.
81+
adventurebackpack:messages.crossbow.outofammo=Aufzieharmbrust: Keine Munition.
82+
83+
## Tooltips
84+
adventurebackpack:tooltips.on=AN
85+
adventurebackpack:tooltips.off=AUS
86+
adventurebackpack:tooltips.empty=LEER
87+
adventurebackpack:tooltips.meters=Meter
88+
adventurebackpack:tooltips.error=Fehler
89+
adventurebackpack:tooltips.steam=Dampf
90+
adventurebackpack:tooltips.press=Drücke
91+
adventurebackpack:tooltips.hold.shift=Halte Shift
92+
adventurebackpack:tooltips.hold.ctrl=Halte Strg
93+
adventurebackpack:tooltips.mouse.wheel=Mausrad
94+
adventurebackpack:tooltips.max.altitude=Maximale Flughöhe
95+
96+
adventurebackpack:tooltips.backpack.slots.used=Plätze in Benutzung
97+
adventurebackpack:tooltips.backpack.tank.left=Linker Tank
98+
adventurebackpack:tooltips.backpack.tank.right=Rechter Tank
99+
adventurebackpack:tooltips.backpack.cycling=Werkzeugtausch
100+
adventurebackpack:tooltips.backpack.cycling.key1=beim Tragen des
101+
adventurebackpack:tooltips.backpack.cycling.key2=Rucksacks, um Werkzeugtausch
102+
adventurebackpack:tooltips.backpack.vision=Nachtsicht
103+
adventurebackpack:tooltips.backpack.vision.key1=beim Tragen des
104+
adventurebackpack:tooltips.backpack.vision.key2=Rucksacks, um Nachtsicht
105+
106+
adventurebackpack:tooltips.jetpack.fuel=Sprit
107+
adventurebackpack:tooltips.jetpack.tank.water=Linker Tank
108+
adventurebackpack:tooltips.jetpack.tank.steam=Rechter Tank
109+
adventurebackpack:tooltips.jetpack.key.onoff1=beim Tragen
110+
adventurebackpack:tooltips.jetpack.key.onoff2=des Jetpacks, um es
111+
112+
adventurebackpack:tooltips.copter.tank.fuel=Tank
113+
adventurebackpack:tooltips.copter.rate.fuel=Spritverbrauch
114+
adventurebackpack:tooltips.copter.key.onoff1=beim Tragen, um
115+
adventurebackpack:tooltips.copter.key.onoff2=Helirucksack
116+
adventurebackpack:tooltips.copter.key.hover1=während des Fluges,
117+
adventurebackpack:tooltips.copter.key.hover2=um Schwebemodus umzuschalten
118+
119+
adventurebackpack:tooltips.hose.key.header=Beim Schlauch halten:
120+
adventurebackpack:tooltips.hose.key.tank=um aktiven Tank zu wechseln
121+
adventurebackpack:tooltips.hose.key.mode=um Modus zu wechseln
122+
adventurebackpack:tooltips.hose.dump1=Schlauch in Ausgangsslot des Rucksacks legen
123+
adventurebackpack:tooltips.hose.dump2=um den jeweiligen Tank zu leeren
124+
adventurebackpack:tooltips.hose.dump.warn=ACHTUNG! Flüssigkeit ist für immer weg!
125+
126+
## Skins
127+
adventurebackpack:skin.name.standard=Standard
128+
adventurebackpack:skin.name.bat=Fledermaus
129+
adventurebackpack:skin.name.black=Schwarz
130+
adventurebackpack:skin.name.blaze=Lohe
131+
adventurebackpack:skin.name.blue=Blau
132+
adventurebackpack:skin.name.bookshelf=Bücherregal
133+
adventurebackpack:skin.name.brown=Braun
134+
adventurebackpack:skin.name.brown_mushroom=Brauner Pilz
135+
adventurebackpack:skin.name.cactus=Kaktus
136+
adventurebackpack:skin.name.cake=Kuchen
137+
adventurebackpack:skin.name.carrot=Karotte
138+
adventurebackpack:skin.name.chest=Kiste
139+
adventurebackpack:skin.name.chicken=Huhn
140+
adventurebackpack:skin.name.coal=Kohle
141+
adventurebackpack:skin.name.cookie=Keks
142+
adventurebackpack:skin.name.cow=Kuh
143+
adventurebackpack:skin.name.creeper=Creeper
144+
adventurebackpack:skin.name.cyan=Cyan
145+
adventurebackpack:skin.name.deluxe=Deluxe
146+
adventurebackpack:skin.name.diamond=Diamant
147+
adventurebackpack:skin.name.dragon=Drache
148+
adventurebackpack:skin.name.egg=Ei
149+
adventurebackpack:skin.name.electric=Elektrisch
150+
adventurebackpack:skin.name.emerald=Smaragd
151+
adventurebackpack:skin.name.end=Ende
152+
adventurebackpack:skin.name.enderman=Enderman
153+
adventurebackpack:skin.name.ghast=Ghast
154+
adventurebackpack:skin.name.glowstone=Glowstone
155+
adventurebackpack:skin.name.gold=Gold
156+
adventurebackpack:skin.name.gray=Grau
157+
adventurebackpack:skin.name.green=Grün
158+
adventurebackpack:skin.name.haybale=Strohballen
159+
adventurebackpack:skin.name.horse=Pferd
160+
adventurebackpack:skin.name.iron=Eisen
161+
adventurebackpack:skin.name.iron_golem=Eisengolem
162+
adventurebackpack:skin.name.lapis=Lapis
163+
adventurebackpack:skin.name.leather=Leder
164+
adventurebackpack:skin.name.light_blue=Hellblau
165+
adventurebackpack:skin.name.light_gray=Hellgrau
166+
adventurebackpack:skin.name.lime=Hellgrün
167+
adventurebackpack:skin.name.magenta=Magenta
168+
adventurebackpack:skin.name.magma_cube=Magmaschleim
169+
adventurebackpack:skin.name.melon=Melone
170+
adventurebackpack:skin.name.modded_network=Modded Network
171+
adventurebackpack:skin.name.mooshroom=Pilzkuh
172+
adventurebackpack:skin.name.nether=Nether
173+
adventurebackpack:skin.name.obsidian=Obsidian
174+
adventurebackpack:skin.name.ocelot=Ozelot
175+
adventurebackpack:skin.name.orange=Orange
176+
adventurebackpack:skin.name.overworld=Oberwelt
177+
adventurebackpack:skin.name.pig=Schwein
178+
adventurebackpack:skin.name.pigman=Pigman
179+
adventurebackpack:skin.name.pink=Pink
180+
adventurebackpack:skin.name.pumpkin=Kürbis
181+
adventurebackpack:skin.name.purple=Lila
182+
adventurebackpack:skin.name.quartz=Quarz
183+
adventurebackpack:skin.name.rainbow=Regenbogen
184+
adventurebackpack:skin.name.red=Rot
185+
adventurebackpack:skin.name.red_mushroom=Roter Pilz
186+
adventurebackpack:skin.name.redstone=Redstone
187+
adventurebackpack:skin.name.sandstone=Sandstein
188+
adventurebackpack:skin.name.sheep=Schaf
189+
adventurebackpack:skin.name.silverfish=Silberfisch
190+
adventurebackpack:skin.name.skeleton=Skelett
191+
adventurebackpack:skin.name.slime=Schleim
192+
adventurebackpack:skin.name.snow=Schnee
193+
adventurebackpack:skin.name.spider=Spinne
194+
adventurebackpack:skin.name.sponge=Schwamm
195+
adventurebackpack:skin.name.squid=Tintenfisch
196+
adventurebackpack:skin.name.sunflower=Sonnenblume
197+
adventurebackpack:skin.name.villager=Dorfbewohner
198+
adventurebackpack:skin.name.white=Weiß
199+
adventurebackpack:skin.name.wither=Wither
200+
adventurebackpack:skin.name.wither_skeleton=Witherskelett
201+
adventurebackpack:skin.name.wolf=Wolf
202+
adventurebackpack:skin.name.yellow=Gelb
203+
adventurebackpack:skin.name.zombie=Zombie
204+
adventurebackpack:skin.name.unknown=UNBEKANNT

0 commit comments

Comments
 (0)