public class EntityBroomConfig extends EntityConfig
EntityBroom.IInitListener.Step| Modifier and Type | Field and Description |
|---|---|
static EntityBroomConfig |
_instance
The unique instance.
|
static double |
desyncCorrectionValue
The maximum number of blocks the client can move the position of
the broom at a time once we notice there is a desync between the
position on the client and server.
|
static double |
desyncThreshold
Maximum number of blocks the position on the client can differ
from the position sent by the server (note: this value should
take into account the round trip delay between client and server
because the code does not handle that.
|
configProperties| Constructor and Description |
|---|
EntityBroomConfig()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.client.renderer.entity.Render |
getRender() |
int |
getUpdateFrequency()
The frequency of tracking updates.
|
boolean |
sendVelocityUpdates()
Whether to send velocity information packets as well.
|
getHolderType, getTrackingRange, getUnlocalizedName, onRegisteredcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onInit, save, setEnabled, showDoubleInitErrorpublic static EntityBroomConfig _instance
public static double desyncThreshold
public static double desyncCorrectionValue
protected net.minecraft.client.renderer.entity.Render getRender()
getRender in class EntityConfigpublic boolean sendVelocityUpdates()
EntityConfigsendVelocityUpdates in class EntityConfigpublic int getUpdateFrequency()
EntityConfiggetUpdateFrequency in class EntityConfig