File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
java/ca/fxco/moreculling/mixin/blocks/cullshape Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ package ca .fxco .moreculling .mixin .blocks .cullshape ;
2+
3+ import net .minecraft .world .level .block .Block ;
4+ import net .minecraft .world .level .block .MossyCarpetBlock ;
5+ import net .minecraft .world .level .block .state .BlockState ;
6+ import net .minecraft .world .level .block .state .properties .BlockStateProperties ;
7+ import net .minecraft .world .phys .shapes .Shapes ;
8+ import net .minecraft .world .phys .shapes .VoxelShape ;
9+ import org .spongepowered .asm .mixin .Mixin ;
10+ import org .spongepowered .asm .mixin .Unique ;
11+
12+ @ Mixin (MossyCarpetBlock .class )
13+ public class MossyCarpetBlock_voxelMixin extends Block {
14+
15+ public MossyCarpetBlock_voxelMixin (Properties properties ) {
16+ super (properties );
17+ }
18+
19+ @ Override
20+ public VoxelShape getOcclusionShape (BlockState state ) {
21+ return super .getOcclusionShape (defaultBlockState ());
22+ }
23+ }
Original file line number Diff line number Diff line change 3232 " blocks.cullshape.ChorusFlowerBlock_voxelMixin" ,
3333 " blocks.cullshape.EndRodBlock_voxelMixin" ,
3434 " blocks.cullshape.LightningRodBlock_voxelMixin" ,
35+ " blocks.cullshape.MossyCarpetBlock_voxelMixin" ,
3536 " blockstates.Block_drawSideMixin" ,
3637 " blockstates.BlockStateBase_moreMixin" ,
3738 " blockstates.Minecraft_loadBlocksMixin" ,
You can’t perform that action at this time.
0 commit comments