
Spaceboy Ross
Members-
Posts
143 -
Joined
-
Last visited
Everything posted by Spaceboy Ross
-
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The isRider and all rider properties are true, the entity is fully aware that there is a rider on it. The arguments are just outputting 0, that's all it's doing. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
Yes, the motion and rotation are working. It's only the movement that's not working. -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
And it's the same set of instructions that was trying to be executed, submit a bug report to http://bugreport.java.com/bugreport/crash.jsp -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
Try the latest Java version from https://java.com/en/ -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
I disassembled the instructions that were included in the log. So it looks like an invalid instruction was trying to be executed on the CPU by the JVM. 0: 00 00 add BYTE PTR [rax],al 2: 00 00 add BYTE PTR [rax],al 4: 5a pop rdx 5: 05 2f 63 00 00 add eax,0x632f a: 00 00 add BYTE PTR [rax],al c: 5a pop rdx d: 05 2f 73 00 00 add eax,0x732f 12: 00 00 add BYTE PTR [rax],al 14: 5a pop rdx 15: 05 2f 83 00 00 add eax,0x832f 1a: 00 00 add BYTE PTR [rax],al 1c: 5a pop rdx 1d: 05 .byte 0x5 1e: 2f (bad) 1f: 93 xchg ebx,eax -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
I don't really know what happened except for Java running an illegal action. -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
What are you're computer's specs? The computer may have run out of memory or the CPU isn't capable of running it. -
Crash logs when opening minecraft forge server
Spaceboy Ross replied to butter's topic in Support & Bug Reports
Please don't attach logs like that, use something like a gist or Pastebin. -
I'm working on updating my moon dimension in my mod and I'm trying to make it so there's no air and that you'd need a space suit, I can easily write the space suit part but I don't know how to remove the air.
-
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The player is riding in the entity. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I'm sure it's being called because I had print statements printing out the argument values. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
Already did. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The 3 float arguments are strafing movement, vertical movement, and forward movement. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The debugger wouldn't work, my framerate dropped to nothing while debugging and my CPU got maxed out. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
It's checking if the entity is being ridden. If that is true then, it updates the rotation from the rider and checks if the rider can steer. If the rider can steer, then it updates the movement. It's moving the entity by using the move function. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I believe that the 3 float arguments are supposed to be movement X, Y, and Z and that the code is supposed to move the entity based on those arguments. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The 3 variable arguments all are set to 0.0f, so that may be the problem. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I entered debug mode then eclipse started slowing down everything. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I dunno and eclipse froze when I tried debugging the code in the debugger. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
The SRG Named arguments are there because that's what eclipse said the argument names are. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I override canPassengerSteer to make it true. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
I've got some of the movement code from the AbstractHorse class but it's still not moving. @Override public void travel(float p_191986_1_,float p_191986_2_,float p_191986_3_) { if(this.isBeingRidden() && this.canBeSteered()) { EntityLivingBase driver = (EntityLivingBase)this.getControllingPassenger(); this.rotationYaw = driver.rotationYaw; this.rotationPitch = driver.rotationPitch; this.setRotation(this.rotationYaw,this.rotationPitch); this.renderYawOffset = this.rotationYaw; this.rotationYawHead = this.renderYawOffset; p_191986_1_ = driver.moveStrafing; p_191986_3_ = driver.moveForward; if(p_191986_3_ <= 0.0F) p_191986_3_ *= 0.25F; if(this.canPassengerSteer()) { this.setAIMoveSpeed(1.0f); super.travel(p_191986_1_,p_191986_2_,p_191986_3_); } else if(driver instanceof EntityPlayer) { this.motionX = 0.0d; this.motionY = 0.0d; this.motionZ = 0.0d; } } else super.travel(p_191986_1_,p_191986_2_,p_191986_3_); } -
I did, the file was reloaded from my GitHub repository I pulled from. I already tried restarting, that was the first thing I did.
-
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
Because I didn't really think I could do that, plus I was writing that code at like 2 AM so I was like subconsciously writing that code. In the next commit, I'll fix that. -
[1.12] Player control riding custom entity
Spaceboy Ross replied to Spaceboy Ross's topic in Modder Support
https://github.com/SpaceboyRoss01/MSGundamMod/blob/master/src/main/java/com/spaceboyross/gundam/GundamItems.java