[Features] **New** Hanging Signs for End Woods

This commit is contained in:
Frank 2023-06-08 14:26:35 +02:00
parent db5c3c169b
commit c9bc6dab02
93 changed files with 454 additions and 52 deletions

View file

@ -1,6 +1,8 @@
package org.betterx.betterend.complexmaterials;
import org.betterx.bclib.complexmaterials.WoodenComplexMaterial;
import org.betterx.bclib.complexmaterials.entry.SlotMap;
import org.betterx.bclib.complexmaterials.set.wood.WoodSlots;
import org.betterx.betterend.BetterEnd;
import org.betterx.betterend.registry.EndBlocks;
import org.betterx.betterend.registry.EndItems;
@ -24,6 +26,11 @@ public class EndWoodenComplexMaterial extends WoodenComplexMaterial {
);
}
@Override
protected SlotMap<WoodenComplexMaterial> createMaterialSlots() {
return super.createMaterialSlots().add(WoodSlots.HANGING_SIGN);
}
public boolean isTreeLog(Block block) {
return block == getLog() || block == getBark();
}