public interface IDegradable
IDegradationEffect should implement this.IDegradationRegistry| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.entity.Entity> |
getAreaEntities()
Get the list of entities within the area defined by
getRadius(). |
double |
getDegradation()
Get the numerical representation of the stage of degradation.
0 is no degradation, 1 is the maximum degradation.
|
net.minecraft.world.World |
getDegradationWorld()
Get the world in which the degradable instance is located.
|
net.minecraft.util.math.BlockPos |
getLocation()
Get the center location of this degradable instance.
|
int |
getRadius()
Get the radius of the area.
|
net.minecraft.util.math.BlockPos getLocation()
int getRadius()
java.util.List<net.minecraft.entity.Entity> getAreaEntities()
getRadius().double getDegradation()
net.minecraft.world.World getDegradationWorld()