Package net.frozenblock.lib.wind.api
Interface WindDisturbingEntity
- All Known Implementing Classes:
EntityMixin,EntityMixin
public interface WindDisturbingEntity
Used to append a wind disturbance to an entity, such as the Breeze.
-
Method Summary
Modifier and TypeMethodDescriptiondoublenet.minecraft.resources.ResourceLocationdoubledoubleboolean
-
Method Details
-
frozenLib$getWindDisturbanceLogicID
net.minecraft.resources.ResourceLocation frozenLib$getWindDisturbanceLogicID()- Returns:
- the
ResourceLocationof the registeredWindDisturbanceLogicto use for this entity.
-
frozenLib$getWindWidth
double frozenLib$getWindWidth()- Returns:
- the width of the wind disturbance.
-
frozenLib$getWindHeight
double frozenLib$getWindHeight()- Returns:
- the height of the wind disturbance.
-
frozenLib$getWindAreaYOffset
double frozenLib$getWindAreaYOffset()- Returns:
- the vertical offset of the wind disturbance from the entity's center.
-
frozenLib$useSyncPacket
boolean frozenLib$useSyncPacket()- Returns:
- whether this entity will sync its wind disturbance to the client via packets, or will create the disturbance separately on the server and client.
-