Everything posted by loordgek
-
How to use DAE files for mobs
- Being able to place a block on all directions
is it your mod ?- JNI - Minecraft getInstance method not found
you are most likely not going to get help here this is outside the scope of this forum. and you are making a auto clicker witch is in my book a cheat- [1.12.2] Forge Server Sources
why, we have sponge- Item Capability not saving one field during world reload
because it is bull- Forge Is Breaking?
do you have optifine ??- [1.12.2] Item breaks when has durability 0 event
https://stackoverflow.com/questions/7520432/what-is-the-difference-between-and-equals-in-java- [1.12.2] Item breaks when has durability 0 event
is the item your own ??- [1.12.2] Unbinding TESRs
DavidM IS the author edit - oops i was thinking cadiboo was talking about davidM code my bad- [1.12.2] Drop an itemstack to a player doesnt work
world.setblockstate(Blockpos)- [1.12.2] Drop an itemstack to a player doesnt work
in world ??- [1.12.2] Drop an itemstack to a player doesnt work
?? i dont understand- [1.12.2] Drop an itemstack to a player doesnt work
got it working. the problem was you set the recipe to early and your grass_ball was null move https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/ExaResources.java#L38 to init. the way you register your items and blocks is wrong https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/features/ModItems.java#L81 dont do that let forge do that for you, that is why @ObjectHolder exist https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/base/ItemMiniShovel.java#L70 dont compare strings like that, read this https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java- [1.12.2] Drop an itemstack to a player doesnt work
can you put your mod on github so i can look- [1.12.2] Drop an itemstack to a player doesnt work
yes- [1.12.2] Drop an itemstack to a player doesnt work
do use idea ?? https://www.jetbrains.com/help/idea/using-breakpoints.html or eclipse https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php- [1.12.2] Drop an itemstack to a player doesnt work
for(DiggingRecipe r : RECIPES) { if(e.getEntityPlayer() != null) { if(!(e.getWorld().isRemote)) { if(b == r.getMainBlock() && i.getItem() instanceof ItemMiniShovel) { if(e.getEntityPlayer().isSneaking()) { e.getEntityPlayer().dropItem(new ItemStack(r.getBallOutput(), 1), false); e.getEntityLiving().getHeldItemMainhand().damageItem(1, e.getEntityPlayer()); e.getWorld().playSound(null, e.getPos(), b.getSoundType().getBreakSound(), SoundCategory.BLOCKS,b.getSoundType().getVolume() * 0.4F, b.getSoundType().getPitch() + (float) (Math.random() * 0.2 - 0.1)); } } } } } nooooo dont do it like this first check if the player is null and if the world if remote and then loop over your recipes and now on topic: have you placed a breakpoint on it ??- World Edit
https://minecraft.curseforge.com/projects/worldedit- OnBlockActivated is not working
code-style 2- Forge 1.14?
- Forge 1.14?
1.13.2 will never be done, lex needs to rework a tool that they use- [1.13.2] BlockEvent.PlaceEvent does not get called when placing down block
when your class has @Mod.EventBusSubscriber your event methods must be static- [1.12.2] Is there a tile entity equivelent for items?
https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/- java.lang.NullPointerException: Can't use a null-name for the registry, object null.
post your code- How to add RF to a block w/o Forge Energy 1.12
https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ - Being able to place a block on all directions
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.