Jump to content

minecraftplayer142

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by minecraftplayer142

  1. i am trying to make a flower that has transparency in it but all the parts that should be transparent in the texture are showing as black. when i searched it up it said that i have to set isopaqueblock to false in the flower's class but i am not sure how to do so. here is my class for the flower package com.me.mymod.blocks; import net.minecraft.block.*; import net.minecraft.client.renderer.RenderType; import net.minecraft.client.renderer.RenderTypeBuffers; import net.minecraft.client.renderer.RenderTypeLookup; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.shapes.VoxelShape; import net.minecraft.world.IBlockReader; import net.minecraftforge.common.extensions.IForgeBlockState; public class FlowerBase extends BushBlock { public FlowerBase(Properties properties) { super(properties); } public boolean isOpaqueCube() { return false; } // ^ that's where i'm having trouble, this is not doing anything and i'm not sure how to make it do something @Override public OffsetType getOffsetType() { return AbstractBlock.OffsetType.XZ; } } and here is how it's showing up
×
×
  • Create New...

Important Information

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