Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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 




 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.