-
Posts
211 -
Joined
-
Last visited
Everything posted by Insane96MCP
-
Change mob loot table and experience on spawn
Insane96MCP replied to Insane96MCP's topic in Modder Support
Yep, my stupid brain was thinking: "You can't since he drops experience over time" -
Change mob loot table and experience on spawn
Insane96MCP replied to Insane96MCP's topic in Modder Support
There's no way to change ender dragon experience drop? -
[1.12.2] Correctly register enchantments?
Insane96MCP replied to Insane96MCP's topic in Modder Support
Oh like Items and Blocks. -
I'm trying to use Enchantment.REGISTRY.register() Is it the right way? It is not. The game crashes. So what's the right way?
-
Change mob loot table and experience on spawn
Insane96MCP replied to Insane96MCP's topic in Modder Support
Just two questions Why? And I can use my loot tables by putting them in resources/mod_id/loot_tables/whatever_folder_I_want? -
Change mob loot table and experience on spawn
Insane96MCP replied to Insane96MCP's topic in Modder Support
That's what I wanted But this will be pretty useful for another mod. Thanks all -
I want to make a mob (wither skeleton) drop nothing (so set the loot table to empty) and drop no experience too. There's any way to change those?
-
Shouldn't Server config automatically override client one?
Insane96MCP replied to Insane96MCP's topic in Modder Support
Oh, and how? -
I thought there was somewhere where I could read it. Thanks
-
Configuration class
-
How I can create nested categories in the config file E.g. general{ I:property=1 nested_general{ I:property_in_nested=2 } }
-
There's anyway to get End Portal's Height (in the End)?
-
Any good tutorial / guide / vanilla packet I can see from for custom packets?
-
I'm trying to get a Capability value for a player in RenderGameOverlayEvent but from there I can only get the PlayerSP and seems like the the capability is not sent. How do I send changes to client as soon as I update the capability's values? Actual Code: https://github.com/Insane-96/IguanaTweaksReborn/blob/master/common/net/insane96mcp/iguanatweaks/modules/ModuleMovementRestriction.java#L271
-
EntityPlayer#isAirBorne always as false?
Insane96MCP replied to Insane96MCP's topic in Modder Support
Preventing the player from placing blocks when jumping -
EntityPlayer#isAirBorne always as false?
Insane96MCP replied to Insane96MCP's topic in Modder Support
Still isJumping is always false. When should EntityPlayerMP#isJumping be true? -
Does World count as dimension or the whole world?
Insane96MCP replied to Insane96MCP's topic in Modder Support
How do I get the dimension id from the world? -
Does World count as dimension or the whole world?
Insane96MCP replied to Insane96MCP's topic in Modder Support
So if the entity has joined the End, EntityJoinWorldEvent#getWorld() will be the End world with subsequent entities, etc.? -
I'm trying to get every entity in an AABB (with EntityJoinWorldEvent#getWorld().getEntitiesWithinAABB()) but it checks for the current dimension or the whole world. I mean, if a zombie is at x:25, y:64, z:-100 in the nether and call getEntitiesWithinAABB() in the overworld, but where the zombie is in the nether, does the zombie get counted? And how I can get every Player in a dimension? (e.g. End)
-
EntityPlayer#isAirBorne always as false?
Insane96MCP replied to Insane96MCP's topic in Modder Support
Oh, didn't see it. Thank you. But still isAirborne is not used? -
I'm trying to check when the player is jumping, but there's no field isJumping and the isAirBorne seems to not work properly as it is always false.
-
I'm trying to get the senses of a mob to modify them and EntityLiving.class.getDeclaredField("senses") works untill I'm in the dev enviroment, but as mod, i get java.lang.NoSuchFieldException. I know I should change the "senses" string into the field_xxxxxx name, but how I can know the field's name?
-
Capabilities crash the world on loading
Insane96MCP replied to Insane96MCP's topic in Modder Support
The old I should pass it the Interface class, an implementation of IStorate and the implementation of the interface. The new one asks for a constructor reference. Nevermind, just found out that I have to use PlayerData::new. I don't even know what that means. Sorry for bothering you but another question: Shouldn't capabilities be saved after quitting a world? I've quit my world but upon logging in the capabilities were empty -
Capabilities crash the world on loading
Insane96MCP replied to Insane96MCP's topic in Modder Support
Oh gosh, thank you. Another question. the register method for capabilities is Deprecated (in 1.12). How to use the new register?