NeoForge icon indicating copy to clipboard operation
NeoForge copied to clipboard

Couple New Features

Open ZestyBlaze opened this issue 2 years ago • 3 comments

Just a couple features that I come across when I started modding with NeoForge that I feel like could be handy little additions to make certain little bits of modding a lot easier:

  • BlockStateProvider provides help for making a Sign to give it it's drop particles in standing and wall state with signBlock, but Hanging Signs have no such tool yet to datagen the blockstate and model files for particles as far as I know yet
  • Boats seem to be a difficult thing to make since they require you to pass an enum value into it Boat.Type which is one of the enum's where you cannot register new values. It would be very handy for NeoForge to have an easier way to add onto these to make Boats easier to make

ZestyBlaze avatar Oct 25 '23 11:10 ZestyBlaze

Boat enum is extensible now as of: https://github.com/neoforged/NeoForge/pull/1292

Not sure what the state is on BlockStateProvider and hanging signs. Is this still an issue?

TelepathicGrunt avatar Jul 25 '24 00:07 TelepathicGrunt

@TelepathicGrunt I believe so, I'll have to double check but there was no method to datagen files for hanging signs so they had textureless break particles. I'll test this again once I'm next deving

ZestyBlaze avatar Aug 02 '24 19:08 ZestyBlaze

Okay @TelepathicGrunt so turns out this is still an issue. Basically in BlockStateProvider NF adds a signBlock method to easily create the blockstate files for the standing and wall block and the block model for the sign as a whole which gives it the planks breaking particles for the sign like it should have. However we cannot use this method for the Hanging Sign and it's CeilingHangingSignBlock and WallHangingSignBlock variants, so it would be super handy to have a hangingSignBlock method that creates all these same files for the hanging sign block too rather then having to do it manually

ZestyBlaze avatar Aug 10 '24 22:08 ZestyBlaze

The helpers for hanging sign models were added in #1528.

XFactHD avatar Sep 12 '24 17:09 XFactHD