Skip to content

Commit

Permalink
no flow seagrass in creative tab
Browse files Browse the repository at this point in the history
  • Loading branch information
baguchi committed Nov 16, 2023
1 parent 7d442f2 commit ad227c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ModBlocks {
.setLightOpacity(1)
.setTextures("sea_grass.png")
.setBlockDrop(sea_grass)
.setTags(BlockTags.IS_WATER, BlockTags.PLACE_OVERWRITES, BlockTags.SHEARS_DO_SILK_TOUCH)
.setTags(BlockTags.IS_WATER, BlockTags.PLACE_OVERWRITES, BlockTags.SHEARS_DO_SILK_TOUCH, BlockTags.NOT_IN_CREATIVE_MENU)
.setBlockSound(BlockSounds.GRASS)
.build(new BlockWaterPlantFlow("sea_grass_flow", findOpenIds(IDUtils.getCurrBlockId()), Material.water));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public void setSwimming(boolean p_20274_) {

} else if (!p_20274_ && this.swimming) {
this.heightOffset = 1.62f;
this.ySlideOffset = 0.0f;
this.setSize(0.6F, 1.8F);
float center = this.bbWidth / 2.0f;
float heightOfMob = this.bbHeight;
Expand Down

0 comments on commit ad227c2

Please sign in to comment.