Everything posted by Animefan8888
-
How many ticks equals one second?
Click here.
-
Can't set name of planks correctly
Override getUnlocalizedName(ItemStack) and base it off of the metadata. Then you will have to put multiple entries into your lang file.
-
will this work on server? if more than one person is to be used at the same time
Of course you could do a hash map and you can use a boolean in one, but you should instead have a capability attached to the player that stores all this then iterate through all the connected players and access the capability.
-
[1.12.2] Creating a throwable item that sticks in the ground, like an arrow
Step through it with your IDEs debugger and you'll be able to confirm if it is being spawned at all, or if it is rendering at all.
-
[1.12.2] Creating a throwable item that sticks in the ground, like an arrow
Not according to the crash report. "net.journey.entity.projectile.EntitySizzlingKnife.<init>(net.minecraft.world.World, net.minecraft.entity.EntityLivingBase, float, int)"
-
will this work on server? if more than one person is to be used at the same time
No because the server will only have one instance of jumpedUp, jumpedForward, canReset, and tick.
-
Crash on placing MagicLog when inheriting from BlockLog
If you look in BlockLog1(I think that is the name) you can look at what they did.
-
[1.12.2] Creating a throwable item that sticks in the ground, like an arrow
For one EntitySizzlingKnife is an abstract class. And it doesnt contain a constructor World, EntityLivingBase, float, int
-
Detecting a neutal mob
I think there is an AI that is attached to those mobs that handles that so you could iterate through the AI list and check for an instance of that particular ai class.
-
Crash on placing MagicLog when inheriting from BlockLog
Create a new instance of a BlockStateContainer that has a PropertyEnum of the type EnumFacing.Axis.
-
Crash on placing MagicLog when inheriting from BlockLog
Does BlockLog override the createBlockState method, and if it does does it add the AXIS property to the BlockStateContainer? If neither is true you need to do so.
-
How do objects like "PathNavigate" and many others persist across saves?
It is used to save everything, what logical thought process would lead a developer to create two different types of saving methods for one game? How do you know said variable persists?
-
Conquest Reloaded Mod Connected Textures Bug
Try fiddling with your settings. I suggest doing so without optifine as there are less. Maybe you need something turned on or off.
-
how to reduce the damage you receive if you have an item in inventory
If I'm not mistaken the armor of the player is calculated on demand so you cannot do this without making it an instance of ItemArmor. However if it isnt then it is stored within a SharedMonsterAttribute and you can add your own modifier in a player tick event if the item is found and remove the modifier if it isnt.
-
problems with onPlayerInteract (think)
Baby steps are the right way to go. However, instead of starting off with modding minecraft you could have started off with something like a calculator or a very simple game that will teach you the basics of Java itself instead of trying to make a modification to an already existing application via an external API.
-
Setting up a server Pack
The mod Adventure Bags is not using a server compatible method of doing something, remove the mod, update the mod, or tell the mod author.
-
JSON Recipe Cannot Find Vanilla Item
You only want to do it this way if you don't want other modded logs to work with the recipe. If you want them to work then you must use the ore dictionary method.
-
JSON Recipe Cannot Find Vanilla Item
You would need to use ore dict there was a post recently on how to do any type of planks it should function the same as the answer on there.
-
[1.12.2] Lighting bug with custom model
I'll be honest with you. Until you pointed it out I didn't notice it, could be a me just waking up, it not being that noticable, or I'm just really bad at that sort of thing. However I believe the solution is returning CUTOUT in getBlockLayer.
-
JSON Recipe Cannot Find Vanilla Item
The oak log isnt called minecraft:oak_log yet, that is its name in 1.13. In 1.12 you need to use its metadata value via the data tag in the JSON.
-
[1.12.2] Lighting bug with custom model
What exactly is your problem?
-
Attaching A 3d Model To A Player
Then the correct thing to do is what I originally said.
-
Issues with custom TNT entity texture
Post your updated code, and just for reference did you copy your code from the vanilla TNT renderer? I'm away from my dev environment for most of the time in a week including right now, but once I get back I'll look into it deeper.
-
Issues with custom TNT entity texture
Change this to your block and do this again.
-
Issues with custom TNT entity texture
Damn. Can you use either the console(print lines) or debug mode to determine if the value is changing on the Client?
IPS spam blocked by CleanTalk.