Class BoostHelper

java.lang.Object
net.minecraft.entity.BoostHelper

public class BoostHelper extends Object
  • Field Details

    • entityData

      private final EntityDataManager entityData
    • boostTimeAccessor

      private final DataParameter<Integer> boostTimeAccessor
    • hasSaddleAccessor

      private final DataParameter<Boolean> hasSaddleAccessor
    • boosting

      public boolean boosting
    • boostTime

      public int boostTime
    • boostTimeTotal

      public int boostTimeTotal
  • Constructor Details

  • Method Details

    • onSynced

      public void onSynced()
    • boost

      public boolean boost(Random p_233617_1_)
    • addAdditionalSaveData

      public void addAdditionalSaveData(CompoundNBT p_233618_1_)
    • readAdditionalSaveData

      public void readAdditionalSaveData(CompoundNBT p_233621_1_)
    • setSaddle

      public void setSaddle(boolean p_233619_1_)
    • hasSaddle

      public boolean hasSaddle()