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.DataSerializers;
|
||||
import net.minecraft.network.datasync.EntityDataManager;
|
||||
import net.minecraft.pathfinding.PathNodeType;
|
||||
import net.minecraft.potion.EffectInstance;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.SoundEvents;
|
||||
|
@ -241,6 +242,11 @@ public class _SpecialDrownedEntity extends DrownedEntity implements ISpecialMob<
|
|||
@Override
|
||||
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. */
|
||||
@Nullable
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue