Posted February 14, 20214 yr I am making a music disc Item named [Zombie On Your Lawn]. I can correctly use the disc Item to right click JuckBox, and it can play the right music. But When i leave the JuckBox Block for about 200 blocks away, the music is still playing.(normally, when player about 30 blocks away, the music will stop playing). Here is the code in ItemRegister. public static final RegistryObject<Item> ZOMBIE_ON_YOUR_LAWN = ITEMS.register("zombie_on_your_lawn", () -> {return new MusicDiscItem(0, () -> { return SoundRegister.ZOMBIE_ON_YOUR_LAWN.get(); }, new Item.Properties().maxStackSize(1).group(GroupRegister.PVZ_MISC).rarity(Rarity.RARE)); }); "zombie_on_your_lawn":{ "subtitle": "sound.pvz.zombie_on_your_lawn", "sounds":[{"name":"pvz:music/zombie_on_your_lawn", "stream":true}] } Edited February 14, 20214 yr by _HungTeen_
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.