Rename the HorseBaseEntity class to AbstractHorseEntity (#3098)

* Rename the HorseBaseEntity class to AbstractHorseEntity

Fixes #3082

* Rename the HorseBaseEntityRenderer class to AbstractHorseEntityRenderer
This commit is contained in:
haykam821 2022-04-20 08:20:26 -04:00 committed by GitHub
parent 07ca9a4927
commit 86ed8ccb3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_875 net/minecraft/client/render/entity/HorseBaseEntityRenderer
CLASS net/minecraft/class_875 net/minecraft/client/render/entity/AbstractHorseEntityRenderer
FIELD field_4641 scale F
METHOD <init> (Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_549;F)V
ARG 1 ctx

View File

@ -507,7 +507,7 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
METHOD method_6091 travel (Lnet/minecraft/class_243;)V
COMMENT Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.
COMMENT
COMMENT <p>See vanilla examples of {@linkplain net.minecraft.entity.passive.HorseBaseEntity#travel
COMMENT <p>See vanilla examples of {@linkplain net.minecraft.entity.passive.AbstractHorseEntity#travel
COMMENT custom horse vehicle} and {@linkplain net.minecraft.entity.mob.FlyingEntity#travel
COMMENT flying entities}.
ARG 1 movementInput

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_1496 net/minecraft/entity/passive/HorseBaseEntity
CLASS net/minecraft/class_1496 net/minecraft/entity/passive/AbstractHorseEntity
FIELD field_18118 PARENT_HORSE_PREDICATE Lnet/minecraft/class_4051;
FIELD field_25374 BREEDING_INGREDIENT Lnet/minecraft/class_1856;
FIELD field_30419 TAMED_FLAG I

View File

@ -24,16 +24,16 @@ target_method net/minecraft/entity/passive/FoxEntity setFoxFlag (IZ)V
param 0 fox_flags
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity TAMED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity SADDLED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity BRED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity EATING_GRASS_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity ANGRY_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity EATING_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity TAMED_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity SADDLED_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity BRED_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity EATING_GRASS_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity ANGRY_FLAG
constant horse_flags net/minecraft/entity/passive/AbstractHorseEntity EATING_FLAG
target_method net/minecraft/entity/passive/HorseBaseEntity getHorseFlag (I)Z
target_method net/minecraft/entity/passive/AbstractHorseEntity getHorseFlag (I)Z
param 0 horse_flags
target_method net/minecraft/entity/passive/HorseBaseEntity setHorseFlag (IZ)V
target_method net/minecraft/entity/passive/AbstractHorseEntity setHorseFlag (IZ)V
param 0 horse_flags