Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public class AxeItemMixin {

@Inject(method = "getAxeStrippingState", at = @At("HEAD"), cancellable = true)
private static void getAxeStrippingState(BlockState state, CallbackInfoReturnable<BlockState> cir) {
BountifulBlocks.LOGGER.info("AxeItemMixin.getAxeStrippingState");
if (BountifulBlocks.CARVABLE_PLANKS.containsKey(state.getBlock())) {
cir.setReturnValue(BountifulBlocks.CARVABLE_PLANKS.get(state.getBlock()).get().defaultBlockState());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class NetherPortalMixin {

@Inject(method = "<init>(Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction$Axis;)V", at = @At(value = "TAIL"))
private void PortalShape(LevelAccessor level, BlockPos blockPos, Direction.Axis axis, CallbackInfo ci) {
BountifulBlocks.LOGGER.info("NetherPortalMixin.PortalShape");
FRAME = (state, world, pos) -> state.is(BBTags.Blocks.NETHER_PORTAL_FRAMES);
}
}
Loading