Posted July 11, 20178 yr I haven't found much in the Docs for it. I tried the this method @SubscribeEvent public void registerSounds(RegistryEvent.Register<Sound> event) { } , but that threw an error on the <Sound>. All I can find in the Docs about registering things is the following. @SubscribeEvent public void registerBlocks(RegistryEvent.Register<Block> event) { event.getRegistry().registerAll(block1, block2, ...); } If I change <Block> to <Item>, it works fine for items, but it doesn't work for sounds. Edited July 11, 20178 yr by I'veGotNoName
July 11, 20178 yr Sound is not a registry entry thus it can't be used as a registry entry type. Now, SoundEvent is a registry entry...
July 11, 20178 yr Author Thanks, that fixed it. Looking back, the docs do say SoundEvents need to be registered, not sounds
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.