Skip to content

Commit

Permalink
Revert "misc: 使LivingEntityValues中值的顺序和原始LivingEntity中的初始化顺序保持一致"
Browse files Browse the repository at this point in the history
This reverts commit 8d3dc10.
  • Loading branch information
MATRIX-feather committed Feb 3, 2024
1 parent 9bd8bb1 commit ede82eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
public class LivingEntityValues extends EntityValues
{
public final SingleValue<Byte> LIVING_FLAGS = getSingle("living_flags", (byte)0);
public final SingleValue<Float> HEALTH = getSingle("living_health", 1f);
public final SingleValue<Integer> POTION_COLOR = getSingle("living_option_color", 0);
public final SingleValue<Boolean> POTION_ISAMBIENT = getSingle("living_potion_is_ambient", false);
public final SingleValue<Integer> STUCKED_ARROWS = getSingle("living_stucked_arrows", 0);
public final SingleValue<Integer> BEE_STINGERS = getSingle("living_bee_stingers", 0);
public final SingleValue<Float> HEALTH = getSingle("living_health", 1f);
public final SingleValue<Optional<BlockPos>> BED_POS = getSingle("living_bed_pos", Optional.of(new BlockPos(0,0,0)));

public LivingEntityValues()
Expand Down

0 comments on commit ede82eb

Please sign in to comment.