类 CustomBreakSoundTest
java.lang.Object
net.neoforged.neoforge.oldtest.block.CustomBreakSoundTest
Adds a block and item to test custom client-controlled breaking sounds.
To test it, place the "custom_break_sound_test:testblock" and break it. Depending on the modulus 3 of the block's
X coordinate, the break sound has to be the cow's hurt sound, the zombie's death sound or the pig's hurt sound,
but never the default stone break sound
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final DeferredRegister.Blocks
private static final boolean
private static final DeferredRegister.Items
static final String
private static final DeferredBlock
<Block> private static final DeferredItem
<BlockItem> -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
MOD_ID
- 另请参阅:
-
ENABLED
private static final boolean ENABLED- 另请参阅:
-
BLOCKS
-
ITEMS
-
TEST_BLOCK
-
TEST_BLOCK_ITEM
-
-
构造器详细资料
-
CustomBreakSoundTest
public CustomBreakSoundTest(net.neoforged.bus.api.IEventBus modBus)
-
-
方法详细资料
-
addCreative
-