private void cS() { if (!this.world.isStatic) { // int bF SafeField<Integer> field_bF = (SafeField<Integer>) new Reflection() .reflect(EntityHorse.class) .getSafeFields(withExactType(Integer.class)) .get(2); field_bF.getAccessor().set(this, 1); // Stop looking down (animation 32) this.p(true); } }
private void cQ() { // Possibly just call the method instead...But that won't work with Cauldron :\ if (!this.world.isStatic) { // int bE SafeField<Integer> field_bE = (SafeField<Integer>) new Reflection() .reflect(EntityHorse.class) .getSafeFields(withExactType(Integer.class)) .get(1); field_bE.getAccessor().set(this, 1); // Open the horse's mouth (animation 128) this.horseVisual(128, true); } }