Posted August 3, 20241 yr I have a rideable LivingEntity and when I ride on it near a block it automatically climbs on it. How to disable it? Here is my travel method: @Override public void travel(@NotNull Vec3 travelVector) { if (!isAlive()) return; if (isVehicle() && hasPassenger()) { var entity = getControllingPassenger(); if(entity == null) return; setRotationMatchingPassenger(entity); if (isControlledByLocalInstance()) super.travel(new Vec3(entity.xxa, travelVector.y, entity.zza)); else setDeltaMovement(Vec3.ZERO); } else { super.travel(travelVector); } } Edited August 4, 20241 yr by Jetug
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.