Everything posted by KaboomRoads
-
1.17.1 custom block sounds
after dragging the file there it just sends me to a new tab with the image but nothing else happens
-
1.17.1 custom block sounds
i dont have that button there. its probably a rank thing.
-
1.17.1 custom block sounds
when i do that nothing happens and i dont have a choose files button below the editor
-
1.17.1 custom block sounds
how do i post screenshots here? since i cant find a way to post screenshots ill just write it down
-
1.17.1 custom block sounds
here is my sound events class public class ModSoundEvents { public static final DeferredRegister<SoundEvent> SOUND_EVENTS = DeferredRegister .create(ForgeRegistries.SOUND_EVENTS, ThingMod.MOD_ID); public static final RegistryObject<SoundEvent> THING_SOUND = registerSoundEvent("thing_sound"); public static final ForgeSoundType THING_SOUND_TYPE = new ForgeSoundType(1f, 1f, () -> THING_SOUND.get(), () -> THING_SOUND.get(), () -> THING_SOUND.get(), () -> THING_SOUND.get(), () -> THING_SOUND.get()); private static RegistryObject<SoundEvent> registerSoundEvent(String name) { return SOUND_EVENTS.register(name, () -> new SoundEvent(new ResourceLocation(ThingMod.MOD_ID, name))); } public static void register(IEventBus eventBus) { SOUND_EVENTS.register(eventBus); } } and here is my sounds.json { "thing_sound": { "category": "blocks", "subtitle": "thingmod.thing_sound", "sounds": [ "thingmod.thing_sound" ] } } my sound file is an ogg file and is named the exact same as it is registered as then i use ModSoundEvents.THING_SOUND_TYPE as the parameter in .Sound() when creating my block and then in my main class i register the ModSoundEvents class with the event bus
-
1.17.1 custom block sounds
how can i make custom block break/place/footsteps sounds i tried making custom sound events and then making a forgesoundtype with them everything works fine except the sound is not there i can play it with /playsound but its silent even when i break/place the block i applied it to
-
1.17.1 Making block act like glow lichen
idk why but as soon as i click on that jar it crashes eclipse for me
-
1.17.1 Making block act like glow lichen
you are probably using intellij because i have only seen it in intellij but not in eclipse (which i use)
-
1.17.1 Making block act like glow lichen
i tried using the glow lichen json code but now my custom vine is invisible. it doesnt have missing texture its just invisible Edit: everything that used to be minecraft:block/glow_lichen is now thingmod:block/vine_thing so the model is fine but the blockstates are just not working properly event though i directly copied them from the minecraft glow lichen json
-
1.17.1 Making block act like glow lichen
after digging very deep i have the voxelshape working and i can even place the block inside itself just like a glow lichen now i just need some help understanding how the blockstate json would work here and also potentionally getting waterlogging it working
-
1.17.1 Making block act like glow lichen
i have but i cant find much about how it works Edit: and i dont know how to access the json files
-
1.17.1 Making block act like glow lichen
how can i make block placeable on walls by detecting the block face it was placed on and like the glow lichen placeable in another block of the same type to add to its placed faces, at the same time breaking all sides that have had their adjacent blocks broken?
-
1.17.1 breaking a block when block beneath broken
now how do i stop it from being placed against a block making it float
-
1.17.1 breaking a block when block beneath broken
How can i find out how vanilla handles this? Ive tried searching on google for ages
-
1.17.1 breaking a block when block beneath broken
i am making a custom grass thing but when i break the block beneath it it just floats in the air. how would i go about detecting an update below and breaking it?
-
1.16.5 Changing block select box size
after a bit of experimantation with the sizes i got it to work properly. thank you for the help.
-
1.16.5 Changing block select box size
i have a custom block with the voxelshape of a slab and with a thing on top of it. i want the thing on top to not be collidable but still possible to place blocks against it instead of the block being placed behind it because the select box is the same size as the voxelshape. how could i change the size of the select box?
IPS spam blocked by CleanTalk.