mirror of
https://github.com/FatherToast/SpecialMobs.git
synced 2025-04-25 06:45:11 +00:00
Whoops!
This commit is contained in:
parent
471f4b4378
commit
c37c72adf2
1 changed files with 7 additions and 1 deletions
|
@ -30,6 +30,7 @@ import net.minecraft.nbt.CompoundNBT;
|
||||||
import net.minecraft.network.datasync.DataParameter;
|
import net.minecraft.network.datasync.DataParameter;
|
||||||
import net.minecraft.network.datasync.DataSerializers;
|
import net.minecraft.network.datasync.DataSerializers;
|
||||||
import net.minecraft.network.datasync.EntityDataManager;
|
import net.minecraft.network.datasync.EntityDataManager;
|
||||||
|
import net.minecraft.pathfinding.PathNodeType;
|
||||||
import net.minecraft.potion.EffectInstance;
|
import net.minecraft.potion.EffectInstance;
|
||||||
import net.minecraft.util.DamageSource;
|
import net.minecraft.util.DamageSource;
|
||||||
import net.minecraft.util.SoundEvents;
|
import net.minecraft.util.SoundEvents;
|
||||||
|
@ -240,7 +241,12 @@ public class _SpecialDrownedEntity extends DrownedEntity implements ISpecialMob<
|
||||||
/** Sets the experience that should be dropped by this entity. */
|
/** Sets the experience that should be dropped by this entity. */
|
||||||
@Override
|
@Override
|
||||||
public final void setExperience( int xp ) { xpReward = xp; }
|
public final void setExperience( int xp ) { xpReward = xp; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setSpecialPathfindingMalus(PathNodeType nodeType, float malus) {
|
||||||
|
this.setPathfindingMalus(nodeType, malus);
|
||||||
|
}
|
||||||
|
|
||||||
/** Converts this entity to one of another type. */
|
/** Converts this entity to one of another type. */
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue