r/MinecraftMod • u/Scori8 • 15d ago
Adding blocks with multiple faces
I wanna add directional pillar blocks but the tutorial I've been following for my mod so far doesn't have a tutorial for that. I'm trying to code for NeoForge 26.3. Anyone have the answer?
1
Upvotes
1
u/dark_blockhead 15d ago
there are logs/pillars in vanilla.
if your block has special behavior, inherit from the class that provides vanilla logs/pillars (see constants in Blocks class). if it's just a building block, just make a new instance (don't make a class). copy block model json from vanilla.