Jump to content

Herobrine_Copper

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Herobrine_Copper's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. it is a custom texture the background is transparent and is there a tutorial for creating a block class
  2. My BlockLists.java file package yeet.mod.lists; import net.minecraft.block.Block; public class BlockList { public boolean isTranslucent() { return true; } public static Block yeet_essence; public static Block yeet_bush; } My Block Registries @SubscribeEvent public static void registerBlocks(final RegistryEvent.Register<Block> event) { event.getRegistry().registerAll ( BlockList.yeet_bush = new Block(Block.Properties.create(Material.ORGANIC).doesNotBlockMovement().hardnessAndResistance(0).sound(SoundType.CROP)).setRegistryName("yeet_bush"), BlockList.yeet_essence = new Block(Block.Properties.create(Material.IRON).hardnessAndResistance(2.0f, 3.0f).lightValue(1).sound(SoundType.STONE)).setRegistryName(location("yeet_essence")) ); logger.info("Blocks registered."); } private static ResourceLocation location(String name) { return new ResourceLocation(modid, name); }
  3. I made a block that has properties of the sweet berry bush. I double checked that the texture that was being used was erased and the block works perfectly as it should when in a player's hand http://prntscr.com/q326t6 but fills in clear spots with white when placed http://prntscr.com/q327os. I checked the forum for a way to make it non opaque or translucent but both answers did nothing. This is my first mod.
×
×
  • Create New...

Important Information

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