Skip to content

Commit

Permalink
make seprate pr for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RealYusufIsmail committed Oct 2, 2023
1 parent fdff0dd commit 6e80705
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ open class IngotFusionTollEnhancerBlockEntity(pPos: BlockPos, pBlockState: Block
worldPosition,
level!!
.getBlockState(worldPosition)
.setValue<Boolean, Boolean>(
.setValue(
IngotFusionTollEnhancer.LIT, java.lang.Boolean.FALSE),
3)
currentTick = 0
Expand Down Expand Up @@ -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>) {
itemStack = p_199721_1_
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class IngotFusionTollEnhancerMenu(
SimpleContainerData(2))

init {
// TODO : Recipe does not work
try {
checkContainerSize(inventory, NUMBER_OF_SLOTS)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<RecipeType<IngotFusionTollEnhancerRecipe>> =
RECIPE_TYPES.registerObject("ingot_fusion_toll_enhancer_recipe") {
RecipeType.simple(ResourceLocation(MOD_ID, "ingot_fusion_toll_enhancer_recipe"))
}
}

0 comments on commit 6e80705

Please sign in to comment.