diff --git a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerBlockEntity.kt b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerBlockEntity.kt index 7eda3b15..6d988fc9 100644 --- a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerBlockEntity.kt +++ b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerBlockEntity.kt @@ -113,7 +113,7 @@ open class IngotFusionTollEnhancerBlockEntity(pPos: BlockPos, pBlockState: Block worldPosition, level!! .getBlockState(worldPosition) - .setValue( + .setValue( IngotFusionTollEnhancer.LIT, java.lang.Boolean.FALSE), 3) currentTick = 0 @@ -167,11 +167,6 @@ open class IngotFusionTollEnhancerBlockEntity(pPos: BlockPos, pBlockState: Block } else false } - fun encodeExtraData(buffer: FriendlyByteBuf) { - buffer.writeByte(items.size) - buffer.writeByte(data.count) - } - override fun setItems(p_199721_1_: NonNullList) { itemStack = p_199721_1_ } diff --git a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerMenu.kt b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerMenu.kt index dd6120a4..2f9dcbe3 100644 --- a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerMenu.kt +++ b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/blocks/fusion/IngotFusionTollEnhancerMenu.kt @@ -54,7 +54,6 @@ class IngotFusionTollEnhancerMenu( SimpleContainerData(2)) init { - // TODO : Recipe does not work try { checkContainerSize(inventory, NUMBER_OF_SLOTS) diff --git a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/RecipeTypeInit.kt b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/RecipeTypeInit.kt index f10f4053..f4fea6d9 100644 --- a/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/RecipeTypeInit.kt +++ b/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/RecipeTypeInit.kt @@ -43,9 +43,4 @@ object RecipeTypeInit { RECIPE_TYPES.registerObject("tool_crafting") { RecipeType.simple(ResourceLocation(MOD_ID, "tool_crafting")) } - - val INGOT_FUSION_TOLL_ENHANCER_RECIPE: ObjectHolderDelegate> = - RECIPE_TYPES.registerObject("ingot_fusion_toll_enhancer_recipe") { - RecipeType.simple(ResourceLocation(MOD_ID, "ingot_fusion_toll_enhancer_recipe")) - } }