Microsoft buys Mojang/Minecraft ... FAQ for Forge Team/LexManos
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By rentatalos · Posted
I cant seem to find the problem but every time I launch forge it is fine until I try to create a new world the game just crashes upon trying to load it. Thank you for your time, Retnatalos. -
Ok, so I have created my modifier like so, private static final UUID CAR_SPEED_MODIFIER_SPRINTING_UUID = UUID.fromString("889db856-9d63-45c8-8f9a-b9ac68b509a3"); private static final AttributeModifier CAR_SPEED_MODIFIER_SPRINTING = new AttributeModifier(CAR_SPEED_MODIFIER_SPRINTING_UUID, "Sprinting speed boost", 5.0D , AttributeModifier.Operation.MULTIPLY_TOTAL); //constructors and whatnot @Override //overriding net.minecraft.entity.LivingEntity.setSprinting public void setSprinting(boolean p_70031_1_) { this.setSharedFlag(3, p_70031_1_); ModifiableAttributeInstance modifiableattributeinstance = this.getAttribute(Attributes.MOVEMENT_SPEED); if (modifiableattributeinstance.getModifier(CAR_SPEED_MODIFIER_SPRINTING_UUID) != null) { modifiableattributeinstance.removeModifier(CAR_SPEED_MODIFIER_SPRINTING); STAR.LOGGER.debug("Sprint overr c1:" + CAR_SPEED_MODIFIER_SPRINTING_UUID); } if (p_70031_1_) { modifiableattributeinstance.addTransientModifier(CAR_SPEED_MODIFIER_SPRINTING); STAR.LOGGER.debug("Sprint overr c2:" + CAR_SPEED_MODIFIER_SPRINTING_UUID); } } But the override method still does not seem to be running at all. Is there an event or something I need to use.
-
By GamingTiger101 · Posted
I created a custom armor effect using this code right here: https://pastebin.com/Jy86Z18K. It is supposed to give me triple health when I have the full set, but every time I switch the item I am holding, or change the amount of items I am holding, the health resets to its basic amount. Can someone help me solve why this is happening? -
By Turtledove · Posted
I know what it was, I wrote getWorld() as a wrapper method for classes that implement IWorld, but I guess I missed that that method isn't listed as a function in the interface. 0 IQ moment.
-
-
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.