-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By Infinitas64 · Posted
Thanks. @Mod.EventBusSubscriber(modid = "modid") public class ModNameEvents { @SubscribeEvent public static void modifyFuelBurnTime(FurnaceFuelBurnTimeEvent event) { ItemStack stack = event.getItemStack(); Item item = stack.getItem(); if (item == DIAMOND) { event.setBurnTime(2560); } } } Why doesn't this work? Didn't I subscribe to the event? -
By diesieben07 · Posted
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS). -
By diesieben07 · Posted
Post the actual error message, not "something". -
By diesieben07 · Posted
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS). -
the way the entity is facing @Override public void performRangedAttack(LivingEntity p_33317_, float p_33318_) { if (this.distanceToSqr(p_33317_) >=10) { LightningBolt lightningbolt = new LightningBolt(EntityType.LIGHTNING_BOLT, this.level); //get the front of the entity //set the pos to (for example) 2 blocks in front of it this.level.addFreshEntity(lightningbolt); (the 'if distancetosqr' was an attempt to try alternate between attacks)
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
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.