Jump to content

JonathanB

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by JonathanB

  1. I want to change the RenderType to transparent because my block appears black instead of transparent.
  2. But how? Sorry, it’s my first mod…
  3. This code add the Block to MC: public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, xpmod.MOD_ID); public static final RegistryObject<Block> TEST_BLOCK = BLOCKS.register("test_block", ()->new Block(AbstractBlock.Properties.create((Material.IRON), MaterialColor.IRON) .hardnessAndResistance(0.5f, 0).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.STONE))); and other code is default
  4. Hello, I am trying to display a texture of my mod transparently, but this is displayed in black. Does anyone have any idea how I can change that?
×
×
  • Create New...

Important Information

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