Started by Hero_Holmes360 on Thu, 04/29/2021 - 14:12 Topic category: Help with modding (Java Edition) How do i make an entity go through walls? Jump to top "disable collision box but it will fall through the blocks on the ground as well. that's why it is better that the entity is flying. Jump to top Permalink Log in or register to post comments Thanks Jump to top Permalink Log in or register to post comments i want to do this too but im afraid i wont be able to check for collisions anymore because the collision boxes are gone. is there any other way to do this? Jump to top Permalink Log in or register to post comments Lock the code and add this somewhere in the mix: public void tick() { this.noPhysics = true; super.tick(); this.noPhysics = false; this.setNoGravity(true); } Jump to top Permalink Log in or register to post comments
"disable collision box but it will fall through the blocks on the ground as well. that's why it is better that the entity is flying. Jump to top Permalink Log in or register to post comments
i want to do this too but im afraid i wont be able to check for collisions anymore because the collision boxes are gone. is there any other way to do this? Jump to top Permalink Log in or register to post comments
Lock the code and add this somewhere in the mix: public void tick() { this.noPhysics = true; super.tick(); this.noPhysics = false; this.setNoGravity(true); } Jump to top Permalink Log in or register to post comments
"disable collision box
but it will fall through the blocks on the ground as well.
that's why it is better that the entity is flying.
Thanks
i want to do this too but im afraid i wont be able to check for collisions anymore because the collision boxes are gone. is there any other way to do this?
Lock the code and add this somewhere in the mix: