Skip to content

Commit

Permalink
🐛 fix xiaolongbao half block culling side blocks
Browse files Browse the repository at this point in the history
fixes #23
  • Loading branch information
LocusAzzurro committed Jan 25, 2024
1 parent 9fb9233 commit fed9530
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ public class BlockRegistry {
public static final RegistryObject<Block> XIAOLONGBAO = BLOCKS.register("xiaolongbao", //TODO xiaolongbao 8 bites in one block, return 2 containers
() -> ConsumableDecorativeBlock.with(BaseBlockProperty.BAMBOO).bites(8).platedWith(ItemRegistry.POLISHED_OAK_PLANK).food(ModFoods.BAOZI)
.whenFinished((pState, pLevel, pPos, pPlayer) -> {pLevel.setBlock(pPos, Blocks.AIR.defaultBlockState(), Block.UPDATE_ALL); pLevel.gameEvent(pPlayer, GameEvent.BLOCK_DESTROY, pPos);})
.shaped(DecorativeBlock.FULL_BLOCK).directional().build());
.shaped(DecorativeBlock.FULL_BLOCK).noOcclusion().directional().build());

/**
* FURNITURE
Expand Down

0 comments on commit fed9530

Please sign in to comment.