-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Here is a documentation that talks about events. And here is one about registering things.
-
You need to use the registry events.
-
Two things. Why did you double post? And second can you post the whole crash report? A single line is pretty abstract and there could be a thousand different reasons.
-
[1.12.2][SOLVED] Json recipe enchanted book ingredient
Animefan8888 replied to Ipsissimus418's topic in Modder Support
Get it on your own post. -
[1.14.4] Making a Trident like item
Animefan8888 replied to MineModder2000's topic in Modder Support
Create your own. Start thinking like a programmer. You need to create your own ItemStackTileEntityRenderer which handles your Spear item. God why do you have to have everything put right in front of you on plain paper. Step 1. Create Your own ItemStackTileEntityRenderer implementation and override renderItem(ItemStack) Step 2. Duplicate what the Trident does, but with your own model. Step 3. Set it in your Items Properties with the Item.Properties#setTEISR Step 4. Create thrown entity by extending the TridentEntity Step 5. Create renderer that renders the your spear model at the entities position/angle etc. Step 6. Make sure everything works. -
Receive and process a chat message , plsss
Animefan8888 replied to Oigreslol's topic in Modder Support
ClientChatReceivedEvent and read this to learn about events. -
Saying part of String[] Crashes game 1.12.2
Animefan8888 replied to Buwwet's topic in Modder Support
Oh a crash. I wonder how I can help. -
[1.14.4][SOLVED] auto mining block problems
Animefan8888 replied to andGarrett's topic in Modder Support
Where do you store it? The block state? BlockState#get TileEntity#getBlockState().get() -
[1.14.4] Making a Trident like item
Animefan8888 replied to MineModder2000's topic in Modder Support
I wonder if it is in the ItemStackTileEntityRenderer class -
[1.14.4] Making a Trident like item
Animefan8888 replied to MineModder2000's topic in Modder Support
Adding them is a forge addon. Vanilla has them hard coded. What? Spawn your own entity? -
This is true, but oracle accounts are free. So make one.
-
I think it is redundant because that event is only fired on the server.
-
It will they have a print line in the first one, but in the one where they check for the skeleton there is another if statement inside to check if the attacker is a Zombie.
-
[1.14.4] Making a Trident like item
Animefan8888 replied to MineModder2000's topic in Modder Support
I think the Trident when held uses a TEISR(TileEntityItemRenderer). Which is attached via the Item Properties you provide in your constructor. As for when it is thrown that's an entity and you need to make your own entity and attach a renderer to it normally, You can probably just extend the TridentRenderer and override getEntityTexture. -
This is not a proper resource location it should look like this. new ResourceLocation("modid", "textures/path/to/file.png");
-
It only culls them if it is told to and this is controlled by a series of factors. Stuff like if it is opaque. Generally things that aren't full cubes are not culled because of the simple way minecraft checks if culling should happen. Is there a block on this side. Cool don't render this side then.
-
The ID is stored in the container like you said not the inventory.
-
interactable gui like an inventory but not for items [1.12.2]
Animefan8888 replied to eatthenight's topic in Modder Support
Well look at it this way. To store items in an inventory you must have an ItemStack correct. Which has a lot of extra data associated with it. You will probably already have an Ability class that stores information about the abilities. So therefore the most efficient way of doing this would be to extend Container and create your own mechanics for it/them. -
What is line 36?
-
Well can't help if I don't have the crash report.
-
This is also what the TileEntityBeaconRenderer does ???
-
Did you change the bounding box away from INFINITE_EXTENT_AABB? Because otherwise it should assume you are always looking at it.
-
I wonder if the event has a solution to this. Or if the entities that I have access to(The dying entity and the damager) have access to the world they are in like my entity.