Translations:Water and Lava/18/en

From Minecraft Parkour Wiki
Revision as of 07:57, 14 November 2021 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Flowing water:<syntaxhighlight lang="java"> /* From Entity.java */ public boolean handleWaterMovement() {

   if (world.handleWater(this.getEntityBoundingBox().contract(0.001, 0.401, 0.001), Material.water, this))
   {
       this.fallDistance = 0.0F;
       this.inWater = true;
       this.fire = 0;
   }