Dustpuppy
Members-
Posts
120 -
Joined
-
Last visited
Everything posted by Dustpuppy
-
Try to set attrib Attack_Speed
-
Atrib. ATTACK_SPEED is missing
-
You have EntityAIHurtByTarget. I had the same, that my entities didn't attack, until i took it out.
-
[1.11] How do i change the texture size for my mob?
Dustpuppy replied to Triphion's topic in Modder Support
private int textureWidth = 64; private int textureHeight = 64; public ModelClottIce() { this.body = new ModelRenderer(this, 0, 0); this.body.setRotationPoint(-4F, 16F, -4F); this.body.addBox(0.0F, 0.0F, 0.0F, 1, 1, 1, 0.0F); this.body.setTextureSize(32, 16); Hmm...one look and the problem is found, as i can see. Think again about the first 2 lines and the last one. -
[1.10.2] Problems with container slots and shift click
Dustpuppy replied to Dustpuppy's topic in Modder Support
Compared and same. Meantime i've copied the parts from the hopper container, that also only has 9 slots. Still not working correctly. And if i walk over the itemstacks of the inventory (that i have taken from inventory basic, meantime) all stacks are empty. -
Hi, i have problems with an container. It works, if i don't use transferStackInSlot, but shift clicking will not work. It moves the items to wrong slots and sometime it double them or even don't show. The container class
-
[solved][1.10.2] Entity is not opening doors
Dustpuppy replied to Dustpuppy's topic in Modder Support
That's it. I looked at the villager, but there's only ((PathNavigateGround)this.getNavigator()).setBreakDoors(true); It has to be ((PathNavigateGround)this.getNavigator()).setEnterDoors(true); Now he opens and uses doors. I am happy. Thank you -
[solved][1.10.2] Entity is not opening doors
Dustpuppy replied to Dustpuppy's topic in Modder Support
Just for test. Makes no difference without. -
Hi, i've got an entity, that's does, what it has to do. Just one thing is not working. It will not use doors. Even when he has a path to walk and i open the door, he will not walk trough. If i destroy the door then, he continous his way. I tried everything i could, including wasting hours in debugger without result. The entity class The movement ai
-
Found it. Forgot to push and pop the matrix.
-
I've found the errors. Forgot somethings. But now i have another problem. As soon as i render the frame around the entity, all other entities will be gone, if they are in the same line of view. If i turn around, there will be a point, where they be rendered again.
-
And me again. I am trying to render a frame around an entity, but it will not do it. This is the way i try it in the renderer of the entity. Someone an idea, what i am doing wrong? The positions are right, checked it.
-
[solved][1.10.2] How to sync entity living from server to client?
Dustpuppy replied to Dustpuppy's topic in Modder Support
I found it. Have taken out all parts, where i was using the self set string "Name" and accessing now only custom name tag. Now it works. He didn't sync the string, even with using nbt tag to store and reread it. -
[solved][1.10.2] How to sync entity living from server to client?
Dustpuppy replied to Dustpuppy's topic in Modder Support
I did. I call this function in the entity class And the call in the gui Changing the gui handling to gui handler will also not solve the problem. -
Hi, i have an entity, i set a custom name at spawning. He has it then and is synced on server and client. The entity class. The base class. This is the output after spawn. When i change the custom name over a gui then, only the server get's it, but the client not. How do i sync the client to the server data? The ouput after changing the name. Client still keeps the old data.
-
[1.10.2] Custom model and armor problems while moving
Dustpuppy replied to Dustpuppy's topic in Modder Support
An item in the hand of the model will also not move with the swinging hand. Do i have to make a full new rendering? -
Hi, i have a custom model. It looks like the normal player. If i move it and rotate the head into movement direction, it walks side wise and not straight. If i rotate the body, it move correct, but any armor the model is wearing will still do this crapy side movement. This is my model class.
-
private ItemStackHandler inventory = new ItemStackHandler(4); Is wrong. private ItemStackHandler inventory = new ItemStackHandler[4]; Would be better, i think.
-
YOU ARE THE MAN! You did it! That was the problem. Thank you, thank you, thank you
-
I am down now to this. Now it decays the leaves on the tree.
-
Ok, now i am fully confused.
-
Yes, i have. But there's something wrong with. Now the leaves are decaying...but on the trees.
-
F***ing json shit. Ok, models are back now. but still no decay. I will take out the update part. With extends blockleaves i don't need it.
-
All i want is a single tree with leaves and logs. Logs are working. just the leaves don't.
-
[21:42:09] [Client thread/ERROR] [FML]: Exception loading model for variant thewizardmod:cherry_leaves#check_decay=false,decayable=true for blockstate "thewizardmod:cherry_leaves[check_decay=false,decayable=true]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model thewizardmod:cherry_leaves#check_decay=false,decayable=true with loader VariantLoader.INSTANCE, skipping