Jump to content

[1.9.2] weird custome grass slab behaveour ?


perromercenary00

Recommended Posts

i have to make 3 slabs for mi mod so i 

	public static final RegistryObject<Block> DIRT_SLAB = registerBlock("dirt_slab",
			() -> new SlabBlock(Block.Properties.copy(Blocks.DIRT)));
	
	public static final RegistryObject<Block> GRASS_SLAB = registerBlock("grass_slab",
			() -> new SlabBlock(Block.Properties.copy(Blocks.GRASS)));

	public static final RegistryObject<Block> GRAVEL_SLAB = registerBlock("gravel_slab",
			() -> new SlabBlock(Block.Properties.copy(Blocks.GRAVEL)));	

internally the 3 slabs point to the same 3 parent_model_slab json 
basemmod:block/parent/slab/parent_slab_bottom.json
basemmod:block/parent/slab/parent_slab_double.json
basemmod:block/parent/slab/parent_slab_top.json

but the grass slab behave as she wants , the size is wrong and the size randomly change every time i put a newone  also the block dont have fisical boundaries i cannot step on it  

slab-Bottom.png

also happends when in slab double 
slab-Double.png

but the other the dirt one and the gravel one just behave normally as expected 

grassblock.gif

 

######
how i fix this 

also is posible to make the grass slab match the bioma color in an easy way i cannot make it work before this dark green texture match the most of forest biomas but not all and gonna looks weird on custome biomas 



thanks for your time 




 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.