Everything posted by Davidthemodder
-
[1.15.2] How do I add a new KeyBinding?
How can I do something with it? Like how can I run Code when this key is pressed?
-
How can i register the jsons for my dimension?
pls reply
-
i downloaded forge but it doesnt show in the versions list
EDIT:sorry i confounded two things.
-
How can i register the jsons for my dimension?
i couldnt get in my dimension in the game
-
How can i register the jsons for my dimension?
i dont find the worldgenregistries
-
[1.16.1] Glass Block
maybe its not mapped.
-
How can i register the jsons for my dimension?
i wanted to create a custom dimension but i dont know how to register the jsons.
-
[FIXED]Detect if items lie on block and craft them together
I found another solution. Still thanks!
-
[FIXED]Detect if items lie on block and craft them together
how can i do the conversion?
-
[FIXED]Detect if items lie on block and craft them together
and how do i check if the block is there?
-
[FIXED]Detect if items lie on block and craft them together
what do i do with it and how do i use it?
-
[FIXED]Detect if items lie on block and craft them together
the new Item is also a custom item
-
I have a friend who wants to make a mod that places blocks beneath your feet
Please tell me if it worked.
-
[FIXED]Detect if items lie on block and craft them together
i want to throw 2 items of my mod on my custom block and they make 1 new item
-
I have a friend who wants to make a mod that places blocks beneath your feet
Or with the LivingTickEvent: @SubscribeEvent public static void onJump(TickEvent.PlayerTickEvent event){ if (event.player.world.getBlockState(event.player.getPosition().add(0, -1, 0)) == Blocks.AIR.getDefaultState()){ event.player.world.setBlockState(event.player.getPosition().add(0, -1, 0), Blocks.COBBLESTONE.getDefaultState()); } }
-
I have a friend who wants to make a mod that places blocks beneath your feet
You can do this by the Event: LivingEntity.LivingJumpEvent Example: @SubscribeEvent public static void onJump(LivingEvent.LivingJumpEvent event) { LivingEntity player = event.getEntityLiving(); World world = player.getEntityWorld(); world.setBlockState(player.getPosition().add(0, 0, 0), YOUR_BLOCK.get().getDefaultState()); } and it has to be in a class where you make your Events. For this put this just above your class: @Mod.EventBusSubscriber(modid = your_mod_id, bus = Mod.EventBusSubscriber.Bus.FORGE, value = Dist.CLIENT) EDIT:if you want to have cobblestone replace YOUR_BLOCK with Blocks.COBBLESTONE and your_mod_ id with "Scaffold"
-
[FIXED]Detect if items lie on block and craft them together
what can i alternatively do?
-
[FIXED]Detect if items lie on block and craft them together
what is a tile entity?
-
[FIXED]Detect if items lie on block and craft them together
i dont want to make a hopper. i already looked at this post
-
[FIXED]Detect if items lie on block and craft them together
i try to make a block craft two items together if they are on top of the block. Any help?
IPS spam blocked by CleanTalk.