Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Insane96 committed Jul 25, 2022
1 parent 8f217f1 commit 3ac1e07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Upcoming
## 1.0.2
* Changed recipes to always require a wooden shield as base, instead of upgrading Wood>Stone>Iron>Diamond
* Internal changes to make registering shields easier

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
mc_version=1.18.2
mod_version=1.0.1
mod_version=1.0.2
lib_version=1.5.1
mixin_version=0.8.5
forge_version=40.1.60
13 changes: 0 additions & 13 deletions src/main/java/com/insane96mcp/shieldsplus/setup/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,10 @@ public static void setup(final FMLClientSetupEvent event) {

@SubscribeEvent
public static void onStitch(TextureStitchEvent.Pre event) {
//TODO Check if I can loop the SPItems.SHIELDS to read all the textures from there=
for (RegistryObject<SPShieldItem> shieldItem : SPItems.SHIELDS) {
event.addSprite(shieldItem.get().material.material.texture());
event.addSprite(shieldItem.get().material.noPatternMaterial.texture());
}
/*if (event.getAtlas().location().equals(InventoryMenu.BLOCK_ATLAS)) {
event.addSprite(SPShieldMaterials.WOODEN.material.texture());
event.addSprite(SPShieldMaterials.WOODEN.noPatternMaterial.texture());
event.addSprite(SPShieldMaterials.STONE.material.texture());
event.addSprite(SPShieldMaterials.STONE.noPatternMaterial.texture());
event.addSprite(SPShieldMaterials.GOLDEN.material.texture());
event.addSprite(SPShieldMaterials.GOLDEN.noPatternMaterial.texture());
event.addSprite(SPShieldMaterials.DIAMOND.material.texture());
event.addSprite(SPShieldMaterials.DIAMOND.noPatternMaterial.texture());
event.addSprite(SPShieldMaterials.NETHERITE.material.texture());
event.addSprite(SPShieldMaterials.NETHERITE.noPatternMaterial.texture());
}*/
}

private static void initShields() {
Expand Down

0 comments on commit 3ac1e07

Please sign in to comment.