Everything posted by Merthew
-
[1.12.2] Tileentity unable to be created
Changed that and still broken.
-
[1.12.2] Tileentity unable to be created
I made a tileentity that works after placing the block down, but when i reload the world, it stops working. Error log: Working on : BlockNetOut BlockNetIn BlockNetInX
-
[1.12.2] Cosmetic Item Hand Update Animation Cancel
Oh, that is what it is called. No not using that, and the override worked.
-
[1.12.2] Capability on server side world for client gui.
I tried doing something like that but i could not get it working, I may go back and work on it later when i feel a bit more motivated.
-
[1.12.2] Cosmetic Item Hand Update Animation Cancel
No, i just don't want it to be bobbing beneath the screen the entire time. What would using animation/matrix entail?
-
[1.12.2] Cosmetic Item Hand Update Animation Cancel
Is it possible to cancel the animation that occurs every time an item that is in either hand updates? I have nbt being saved to the item pretty much every tick it is in the inventory so, you never get to see the item. Just hoping for cosmetic reasons.
-
[1.12.2] Capability on server side world for client gui.
Never mind, i got it to work by setting the nbt of the item to the server's world data and passing that through.
-
[1.12.2] Capability on server side world for client gui.
Then what would be the better way to go about doing this?
-
[1.12.2] Capability on server side world for client gui.
How would i get the server world reference, when i was doing that, it would read the number that had been added since the start of the session. not the total stored.
-
[1.12.2] Capability on server side world for client gui.
I made a capability that i attached to the world. It stores an int and that is about it. I am trying to get that int for a gui overlay when you are holding a certain item. I have looked at passing a packet, however, the error i get is that there is no Gl reference in the thread. I understand that the Gl reference is only called when rendering. How would i go about doing this?
-
[1.12.2] arrows fired spawned don't do damage
Fixed it, had to have it run on the server. again, it was something dumb.
-
[1.12.2] arrows fired spawned don't do damage
This is how i create the arrow and fire it: EntityTippedArrow e = new EntityTippedArrow(world, pos.getX()+.5, pos.getY()+1, pos.getZ()+.5); e.motionX = (Math.random()*4)-2; e.motionZ = (Math.random()*4)-2; e.motionY = 1.0F; world.spawnEntity(e); The way the bow does it, it calls the shoot function, i also tried that but to no avail.
-
[1.12.2] arrows fired spawned don't do damage
there is a function called setDamage but that doesn't seem to have done anything.
-
[1.12.2] arrows fired spawned don't do damage
The arrows that i fire from my tileentiy don't actually do damage. Is there a way to fix this? Code File: In all honesty it is more than likely something obvious.
-
[1.12.2] spawning arrow from tileentity?
Got it, instead of creating a new EntityArrow, i just needed to make a new EnitityTippedArrow. Because that makes sense.
-
[1.12.2] spawning arrow from tileentity?
From that, do i need to create a custom entity to fire from?
-
[1.12.2] spawning arrow from tileentity?
I want to be able to spawn an arrow at a certain postion from a tileentity, best way?
-
[1.12.2] General question about world "events"
Ah, thank you very much.
-
[1.12.2] General question about world "events"
What would be the best way to create an event that happens in the world. Like on the push of a button in a gui, cause a system of actions to occur for the next say ten seconds? Would i be easier to do this in the same tileentity or can i do it with a separate ticking entity?
-
[1.12.2] update world weather
Ok, i actually fixed it this time using packets and stuff. Thanks
-
[1.12.2] update world weather
That makes way more sense, thanks.
-
[1.12.2] update world weather
Thank you both for your help.
-
[1.12.2] update world weather
Fixed it, had to set the world to one hosted from the server. World world = Minecraft.getMinecraft().getIntegratedServer().getWorld(0);
-
[1.12.2] update world weather
Should i send something to the server?
-
[1.12.2] update world weather
Should be up now.
IPS spam blocked by CleanTalk.