Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

immortalcatz

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About immortalcatz

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!
  1. Just wondering if you could put up the fixed code so others could use it... Not sure what part you changed to that.
  2. Found a version of what I was trying to do on github, had to tweak it a bit to make it updated to 1.16.5 tho.... package expanded.blocks; import javax.annotation.Nullable; import expanded.VanillaBuildingBlocks; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.RotatedPillarBlock; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.common.ToolType; public class CustomLog
  3. Not sure how I would do that, should I just make the stripped block extend Block or use something else like RotatdPillarBlock?
  4. how would I do that with the Strippable Log class?
  5. whenever i add more then one log type and i right click it turns into the acacia log, not it's own stripped version.... I'm using vanilla blocks to test it with so I know it's working. *edit: like if I make a spruce and right click with an axe, the spruce log turns into the acacia log, not the stripped version, but the acacia log turns into stripped acacia.
  6. Okay, I got it working correctly now, but I'm not sure how to make it work with multiple blocks. My Block Code: package expanded.blocks; import javax.annotation.Nullable; import expanded.VanillaBuildingBlocks; import net.minecraft.block.BlockState; import net.minecraft.block.RotatedPillarBlock; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.common.ToolType; public class CustomLog extends RotatedPillarBlo
  7. Ya but I'm not sure how I would actually add/implement it into the class correctly, and then registering the block correctly in my register class.
  8. How would I add that into the class file and which one would that be in?
  9. Can't seem to find much about how to make this work and trying to use code from open source mods doesn't help, Tried using AxeItem.Strippables but that doesn't work either. I'm wondering if there's an easy vanilla way to do this. Googling it doesn't seem to help me either.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.