Everything posted by Animefan8888
-
Setting Registry Name for an Item [1.9.4]
Are you absolutely positive you are using forge 1.9.4.
-
[SOLVED][1.10.2] Poison and Nausea not working
We need all of the code where you call it.
-
Setting Registry Name for an Item [1.9.4]
Is that directed at other users on this thread, or me? If it is directed towards me, what do you mean? Yes it is direcred at you, he means what doesnt work?
-
minecraft forge(eclipse) crashs if i test my mod
- whats the armor types? [1.10]
It now takes a EntityEquipmentType...- [1.10.2] Thorns like behavior
Yeah but make sure that when you call getEntitiesWithinAABB(...) pass EntityLivingBase.class not Entity, because anything lower in the hierarchy is not damageable like that.- [1.10.2] Thorns like behavior
Lol, yeah that will work.- [1.10.2] Thorns like behavior
Not quite, you don't need to use iterator for a list at least if you are not removing anything. Instead a simple for loop would work. The one you have down there will not work mainly because you don't create a variable for the next iteration. Though if you ever need to use an iterator look at some vanilla examples one off the top of my head would be FurnaceRecipes#getSmeltingResult(...).- Custom projectile not being launched and only falls down through ground 1.10.2
Why don't you go back and look at what you may have copied this from. ItemSnowball to be more precise.- Could't Render Item or texture (1.9.4)
Instead of modelMesher use ModelLoader.setCustomModelResourceLocation(...) in your preInit method.- [Paused] [1.8.9] How to detect if item is in inventory, then remove it?
That is client side you can grab what there is client side and modify it, but since all data is saved and should be modified on the server. It will just be overriden by the server. Thus a packet is required.- [Paused] [1.8.9] How to detect if item is in inventory, then remove it?
First EntityPlayerSP is not a variable you can use, you will need to send packets. This is a link to Diesieben07's tutorial on Packets. http://www.minecraftforge.net/forum/index.php?topic=20135.0- [Paused] [1.8.9] How to detect if item is in inventory, then remove it?
Do you have access to a EntityPlayer variable? If so there is a thing called inventory in there.- [Paused] [1.8.9] How to detect if item is in inventory, then remove it?
Any specific slot? Players hand? And input would be using a KeyHandler and possibly the KeyInputEvent- [1.10.2] Items with metadata dont have textures
Also you don't add your modid to the front of the name, for your ModelResourceLocation.- [1.10.2] Custom Block Model and onFallenUpon() Behavior
It is most likely not a forge bug, it is most likely a Minecraft bug. Not sure if they will/can help.- [1.10.2] Items with metadata dont have textures
First instead of using the modelMesher you should use ModelLoader.setCustomModelResourceLocation(...) And post your model JSONs- [1.10.2] Custom Block Model and onFallenUpon() Behavior
I doubt it is a bug because if you do round the players position, it would round down after being near the bottom. Just use pos.up () instead of pos. But use a print line to check if the code gets called with just one. Mainly because i dont know how onFallen works.- [1.10.2] Thorns like behavior
Go learn Java, then you will know.- [1.10.2] Thorns like behavior
You loop through the list using a for loop.- [1.10.2] Thorns like behavior
With one if statement &&'s to use more than one boolean value. Also world.getEntitiesWithinAABB(...) should return a List<Entity> not a single Entity also instead of player.getClass() use EntityLivingBase.class. *Edit Also to damage an entity living.attackEntityFromDamageSource(...)- [1.10.2] Thorns like behavior
To detect if they are wearing the armor use onArmorTick and check if the players armor slots are of the armor Item. And I don't think there is a collision event so i would issue a pull request on forges github. Other thatn that you could use PlayerTickEvent and manually check if the player collides with another player.- Minecraft crashes upon using keybind
You cant pass EntityPlayer into the method only the event, also 1.7.10 is not supported on this forum, please update.- How to set a hollow cuboid (or get a list with the blocks / locations in it)
Yse three nested for loops. All going from -radius to +radius. And check if x, y, z is = to -radius or +radius.- [1.10.2] Replace Biome with Another
You would need to replace BiomeGenBase.hell/nether what ever the biome is called because it is part of the main biome. - whats the armor types? [1.10]
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.