public class EntityBroomConfig
extends org.cyclops.cyclopscore.config.extendedconfig.EntityConfig
EntityBroom.| 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.
|
| Constructor and Description |
|---|
EntityBroomConfig()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.client.renderer.entity.Render |
getRender(net.minecraft.client.renderer.entity.RenderManager renderManager,
net.minecraft.client.renderer.entity.RenderItem renderItem) |
int |
getUpdateFrequency() |
boolean |
sendVelocityUpdates() |
getHolderType, getTrackingRange, getUnlocalizedName, onInitcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getMod, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onRegistered, save, setEnabled, showDoubleInitErrorpublic static EntityBroomConfig _instance
public static double desyncThreshold
public static double desyncCorrectionValue
protected net.minecraft.client.renderer.entity.Render getRender(net.minecraft.client.renderer.entity.RenderManager renderManager,
net.minecraft.client.renderer.entity.RenderItem renderItem)
getRender in class org.cyclops.cyclopscore.config.extendedconfig.EntityConfigpublic boolean sendVelocityUpdates()
sendVelocityUpdates in class org.cyclops.cyclopscore.config.extendedconfig.EntityConfigpublic int getUpdateFrequency()
getUpdateFrequency in class org.cyclops.cyclopscore.config.extendedconfig.EntityConfig