Class IsoObject
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
- All Implemented Interfaces:
Serializable,ILuaIsoObject,IsoRenderable,Thumpable
- Direct Known Subclasses:
IsoAnimalTrack,IsoBarbecue,IsoBarricade,IsoBrokenGlass,IsoButcherHook,IsoCarBatteryCharger,IsoClothingDryer,IsoClothingWasher,IsoCombinationWasherDryer,IsoCompost,IsoCurtain,IsoDoor,IsoFeedingTrough,IsoFire,IsoFireplace,IsoGenerator,IsoHutch,IsoJukebox,IsoLightSwitch,IsoMannequin,IsoMovingObject,IsoRaindrop,IsoRainSplash,IsoStackedWasherDryer,IsoStove,IsoThumpable,IsoTrap,IsoTree,IsoWaveSignal,IsoWindow,IsoWindowFrame,IsoWorldInventoryObject,SkyBox
public class IsoObject
extends GameEntity
implements Serializable, ILuaIsoObject, Thumpable, IsoRenderable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionfloat[]booleanstatic floatbooleanbooleanshortbooleanstatic final ColorInfostatic floatintstatic IsoObjectstatic IsoObjectstatic booleanstatic final intbooleanfloatfloatbooleanfloatbytebytebytefloatstatic floatbooleanfloatfloatfloatfloatfloatfloatFields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionIsoObject(IsoCell cell, IsoGridSquare _square, String gid) IsoObject(IsoCell cell, IsoGridSquare _square, IsoSprite spr) IsoObject(IsoGridSquare _square, String _tile) IsoObject(IsoGridSquare _square, String _tile, boolean bShareTilesWithMap) IsoObject(IsoGridSquare _square, String _tile, String _name) IsoObject(IsoGridSquare _square, String _tile, String _name, boolean bShareTilesWithMap) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachedAnimSprite(IsoSprite spritex) voidaddAttachedAnimSpriteByName(String string) voidaddAttachedAnimSpriteInstance(IsoSpriteInstance spriteInstance) voidvoidaddItemToObjectSurface(String string) addItemToObjectSurface(String string, boolean boolean0) addItemToObjectSurface(String string, boolean boolean0, boolean boolean1) voidaddSecondaryContainer(ItemContainer _container) booleanaddSheetRope(IsoPlayer player, String itemType) voidvoidAttachAnim(String string0, String string1, int int0, float float0, int int1, int int2, boolean boolean0, int int3, boolean boolean1, float float1, ColorInfo colorInfo) AttachAnim(String string0, String string1, int int0, float float0, int int1, int int2, boolean boolean0, int var8, boolean boolean1, float var10, ColorInfo colorInfo, boolean boolean2) voidAttachExistingAnim(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias) voidAttachExistingAnim(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias, ColorInfo TintMod) voidAttackObject(IsoGameCharacter owner) booleanbooleancanTransferFluidFrom(FluidContainer fluidContainer0) booleancanTransferFluidTo(FluidContainer fluidContainer0) voidvoidvoidbooleanvoidvoidvoidvoidintvoidvoidlongvoidDamage(float amount) voidvoiddestroyFence(IsoDirections _dir) voidvoidvoidDoSpecialTooltip(ObjectTooltip tooltipUI, IsoGridSquare _square) voidDoTooltip(ObjectTooltip tooltipUI) voidvoidstatic ClassfactoryClassFromFileInput(IsoCell cell, int classID) Deprecated.static IsoObjectfactoryFromFileInput(IsoCell cell, byte classID) static IsoObjectfactoryFromFileInput(IsoCell cell, ByteBuffer b) static IsoObjectfactoryFromFileInput_OLD(IsoCell cell, int classID) Deprecated.static bytefactoryGetClassID(String _name) static IsoObjectFindExternalWaterSource(int x, int y, int z) static IsoObjectFindExternalWaterSource(IsoGridSquare _square) static IsoObjectFindWaterSourceOnSquare(IsoGridSquare _square) voidfloatgetAlpha()floatgetAlpha(int playerIndex) intgetCell()getChunk()getContainerByEitherType(String type1, String type2) getContainerByIndex(int index) getContainerByType(String type) getContainerClickedOn(int int0, int int1) intintgetContainerIndex(ItemContainer _container) <T> PZArrayList<ItemContainer> getContainers(T object1, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback, PZArrayList<ItemContainer> pZArrayList) shortgetDir()booleanlonggetFacingPosition(Vector2 pos) static IsoObject.IsoObjectFactoryfloatfloatgetHighlightColor(int int0) booleanintgetKeyId()static IsoObjectstatic IsoObjectfloatgetMaskClickedY(int x, int y, boolean flip) intgetName()static IsoObjectgetNew()static IsoObjectgetNew(IsoGridSquare sq, String _spriteName, String _name, boolean bShareTilesWithMap) intfloatfloatfinal intgetOutlineHighlightCol(int playerIndex) floatintorg.lwjgl.util.vector.Vector3fgetPosition(org.lwjgl.util.vector.Vector3f vector3f) getPosition(Vector3 vector) getRenderEffectObjectByIndex(int var1) intgetRenderInfo(int int0) floatintvoidgetSpriteGridObjects(ArrayList<IsoObject> result) voidgetSpriteGridObjects(ArrayList<IsoObject> arrayList, boolean boolean0) voidgetSpriteGridObjectsExcludingSelf(ArrayList<IsoObject> arrayList) voidgetSpriteGridObjectsIncludingSelf(ArrayList<IsoObject> arrayList) intfloatfloatfloatgetTable()floatfloatgetTargetAlpha(int playerIndex) floatgetTile()getType()booleanfloatGetVehicleSlowFactor(BaseVehicle vehicle) intfloatgetX()floatgetY()floatgetZ()booleanbooleanbooleanbooleanhasFluid()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasWater()booleanbooleanvoidvoidHitByVehicle(BaseVehicle vehicle, float amount) voidinvalidateRenderChunkLevel(long long0) voidbooleanReturns TRUE if both Alpha nad TargetAlpha are transparent, or near-zero.booleanisAlphaAndTargetZero(int playerIndex) booleanReturns TRUE if Alpha is transparent, or near-zero.booleanisAlphaZero(int playerIndex) booleanbooleanisBlink()booleanisBlink(int int0) booleanisBush()booleanbooleanbooleanisConnectedSpriteGridObject(IsoObject object0) booleanbooleanbooleanbooleanisFascia()booleanbooleanisFloor()booleanbooleanbooleanisGrave()booleanbooleanisHighlighted(int int0) booleanbooleanisHighlightRenderOnce(int int0) booleanbooleanisItemAllowedInContainer(ItemContainer _container, InventoryItem item) booleanisLit()booleanisMaskClicked(int x, int y) booleanisMaskClicked(int x, int y, boolean flip) booleanbooleanbooleanbooleanbooleanfinal booleanfinal booleanisOutlineHighlight(int playerIndex) final booleanfinal booleanisOutlineHlAttached(int playerIndex) booleanfinal booleanisOutlineHlBlink(int playerIndex) booleanbooleanbooleanisRemoveItemAllowedFromContainer(ItemContainer _container, InventoryItem item) booleanbooleanbooleanbooleanbooleanbooleanbooleanisStump()booleanbooleanbooleanbooleanbooleanisTargetAlphaZero(int playerIndex) booleanisTent()booleanisWall()booleanisWallN()booleanisWallW()booleanisZombie()final voidload(ByteBuffer input, int WorldVersion) voidload(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) voidloadChange(String change, ByteBuffer bb) voidvoidloadFromRemoteBuffer(ByteBuffer b, boolean addToObjects) voidloadState(ByteBuffer bb) moveFluidToTemporaryContainer(float float1) voidbooleanonMouseLeftClick(int x, int y) voidonMouseRightClick(int lx, int ly) voidvoidvoidRemoveAttachedAnim(int index) voidvoidvoidfinal voidvoidbooleanremoveSheetRope(IsoPlayer player) voidrender(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) voidrenderAnimatedAttachments(float float0, float float1, float float2, ColorInfo colorInfo) voidrenderAttachedAndOverlaySprites(IsoDirections directions, float float0, float float1, float float2, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) voidrenderFloorTile(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier, Consumer<TextureDraw> attachedAndOverlayModifier) voidrenderFxMask(float x, float y, float z, boolean bDoAttached) voidvoidrenderObjectPicker(float x, float y, float z, ColorInfo lightInfo) voidrenderWallTile(IsoDirections directions, float float2, float float1, float float0, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) voidrenderWallTileDepth(IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3, int int2, float float1, float float2, float float3, ColorInfo colorInfo0, Shader var10, Consumer<TextureDraw> consumer) voidrenderWallTileOnly(IsoDirections directions, float float2, float float3, float float4, ColorInfo colorInfo0, Shader shader, Consumer<TextureDraw> consumer) replaceItem(InventoryItem item) voidreset()voidfinal voidsave(ByteBuffer output) voidsave(ByteBuffer output, boolean IS_DEBUG_SAVE) voidsaveChange(String change, KahluaTable tbl, ByteBuffer bb) voidsaveState(ByteBuffer bb) voidsendObjectChange(String change) voidsendObjectChange(String change, Object... args) voidsendObjectChange(String change, KahluaTable tbl) booleanvoidsetAlpha(float _alpha) voidsetAlpha(int playerIndex, float _alpha) voidsetAlphaAndTarget(float _alpha) voidsetAlphaAndTarget(int playerIndex, float _alpha) voidsetAlphaToTarget(int playerIndex) voidsetAnimating(boolean boolean0) voidsetAttachedAnimSprite(ArrayList<IsoSpriteInstance> _AttachedAnimSprite) voidsetBlink(boolean blink) voidsetBlink(int int0, boolean boolean0) voidsetChildSprites(ArrayList<IsoSpriteInstance> _AttachedAnimSprite) voidsetContainer(ItemContainer _container) voidsetCustomColor(float r, float g, float b, float a) voidsetCustomColor(ColorInfo col) voidsetDamage(short _Damage) voidsetDir(int _dir) voidsetDoRender(boolean boolean0) voidsetExplored(boolean boolean0) voidsetForwardIsoDirection(int int0) voidsetForwardIsoDirection(IsoDirections directions) voidsetHighlightColor(float r, float g, float b, float a) voidsetHighlightColor(int int0, float float0, float float1, float float2, float float3) voidsetHighlightColor(int int0, ColorInfo colorInfo) voidsetHighlightColor(ColorInfo _highlightColor) voidsetHighlighted(boolean highlight) voidsetHighlighted(boolean highlight, boolean renderOnce) voidsetHighlighted(int int0, boolean boolean0) voidsetHighlighted(int int0, boolean boolean0, boolean boolean1) voidsetHighlightRenderOnce(boolean boolean0) voidsetHighlightRenderOnce(int int0, boolean boolean0) voidsetKeyId(int _keyId) static voidsetLastRendered(IsoObject aLastRendered) static voidsetLastRenderedRendered(IsoObject aLastRenderedRendered) voidsetLightSource(IsoLightSource lightSourcex) voidsetLit(boolean var1) voidsetModData(KahluaTable tablex) voidsetMovedThumpable(boolean movedThumpable) voidvoidvoidsetNoPicking(boolean _NoPicking) voidsetOffsetX(float _offsetX) voidsetOffsetY(float _offsetY) voidsetOnOverlay(IsoSpriteInstance spriteInstance) final voidsetOutlineHighlight(boolean _isOutlineHighlight) final voidsetOutlineHighlight(int playerIndex, boolean _isOutlineHighlight) final voidsetOutlineHighlightCol(float r, float g, float b, float a) final voidsetOutlineHighlightCol(int playerIndex, float r, float g, float b, float a) final voidsetOutlineHighlightCol(int playerIndex, ColorInfo _outlineHighlightCol) final voidsetOutlineHighlightCol(ColorInfo _outlineHighlightCol) voidsetOutlineHlAttached(boolean _isOutlineHlAttached) final voidsetOutlineHlAttached(int playerIndex, boolean _isOutlineHlAttached) voidsetOutlineHlBlink(boolean _isOutlineHlBlink) final voidsetOutlineHlBlink(int playerIndex, boolean _isOutlineHlBlink) voidsetOutlineOnMouseover(boolean _OutlineOnMouseover) voidsetOutlineThickness(float _outlineThickness) voidsetOverlaySprite(String _spriteName) voidsetOverlaySprite(String _spriteName, boolean bTransmit) voidsetOverlaySprite(String _spriteName, float r, float g, float b, float a) booleansetOverlaySprite(String _spriteName, float r, float g, float b, float a, boolean bTransmit) voidsetOverlaySpriteColor(float r, float g, float b, float a) voidsetPipedFuelAmount(int units) voidvoidsetRenderEffect(RenderEffectType type, boolean reuseEqualType) voidsetRenderYOffset(float f) voidsetRerouteCollide(IsoObject _rerouteCollide) voidsetRerouteMask(IsoObject _rerouteMask) voidsetSatChair(boolean boolean0) voidsetSceneCulled(boolean boolean0) voidsetSpecialTooltip(boolean _specialTooltip) voidvoidvoidsetSpriteFromName(String _name) voidsetSpriteModelName(String string) voidsetSquare(IsoGridSquare _square) voidsetTable(KahluaTable _table) voidsetTargetAlpha(float _targetAlpha) voidsetTargetAlpha(int playerIndex, float _targetAlpha) voidvoidsetType(IsoObjectType type) voidsetUsesExternalWaterSource(boolean b) booleanvoidspawnItemToObjectSurface(String string) spawnItemToObjectSurface(String string, boolean boolean0) voidsync()voidsyncFluidContainerReceive(ByteBuffer byteBuffer) voidsyncFluidContainerSend(ByteBufferWriter byteBufferWriter) voidsyncIsoObject(boolean bRemote, byte val, UdpConnection source, ByteBuffer bb) voidsyncIsoObjectReceive(ByteBuffer byteBuffer) voidbooleanTestCollide(IsoMovingObject obj, IsoGridSquare from, IsoGridSquare to) booleanTestPathfindCollide(IsoMovingObject obj, IsoGridSquare from, IsoGridSquare to) TestVision(IsoGridSquare from, IsoGridSquare to) voidThump(IsoMovingObject thumper) toString()floattransferFluidFrom(FluidContainer fluidContainer0, float float4) floattransferFluidTo(FluidContainer fluidContainer0, float float4) voidvoidDeprecated.voidvoidvoidvoidvoidtransmitUpdatedSpriteToClients(UdpConnection connection) voidDeprecated.voidturnOn()voidUnCollision(IsoObject object) voidvoidupdate()floatuseFluid(float float0) voiduseItemOn(InventoryItem item) Deprecated.voidWeaponHit(IsoGameCharacter chr, HandWeapon weapon) voidMethods inherited from class zombie.entity.GameEntity
attrib, componentSize, containsComponent, getAttributes, getComponent, getComponentAny, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getEntityScript, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponentAny, hasComponents, hasRenderers, isAddedToEngine, isMeta, isOutside, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFluidContainerUpdate, onUnEquip, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendSyncEntity, setUsingPlayerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface zombie.iso.ILuaIsoObject
setDir
-
Field Details
-
MAX_WALL_SPLATS
public static final int MAX_WALL_SPLATS- See Also:
-
lastRendered
-
lastRenderedRendered
-
rmod
public static float rmod -
gmod
public static float gmod -
bmod
public static float bmod -
LowLightingQualityHack
public static boolean LowLightingQualityHack -
fireColor
-
ppfHighlighted
public byte ppfHighlighted -
ppfHighlightRenderOnce
public byte ppfHighlightRenderOnce -
ppfBlink
public byte ppfBlink -
bSatChair
public boolean bSatChair -
keyId
public int keyId -
emitter
-
sheetRopeHealth
public float sheetRopeHealth -
sheetRope
public boolean sheetRope -
bNeverDoneAlpha
public boolean bNeverDoneAlpha -
bAlphaForced
public boolean bAlphaForced -
AttachedAnimSprite
-
wallBloodSplats
-
container
-
dir
-
Damage
public short Damage -
partialThumpDmg
public float partialThumpDmg -
NoPicking
public boolean NoPicking -
offsetX
public float offsetX -
offsetY
public float offsetY -
OutlineOnMouseover
public boolean OutlineOnMouseover -
rerouteMask
-
sprite
-
overlaySprite
-
overlaySpriteColor
-
square
-
alpha
public float[] alpha -
rerouteCollide
-
table
-
name
-
tintr
public float tintr -
tintg
public float tintg -
tintb
public float tintb -
spriteName
-
sx
public float sx -
sy
public float sy -
doNotSync
public boolean doNotSync -
renderSquareOverride
-
renderSquareOverride2
-
renderDepthAdjust
public float renderDepthAdjust
-
-
Constructor Details
-
IsoObject
-
IsoObject
public IsoObject() -
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
-
Method Details
-
isFloor
public boolean isFloor() -
getNew
public static IsoObject getNew(IsoGridSquare sq, String _spriteName, String _name, boolean bShareTilesWithMap) -
getLastRendered
- Returns:
- the lastRendered
-
setLastRendered
- Parameters:
aLastRendered- the lastRendered to set
-
getLastRenderedRendered
- Returns:
- the lastRenderedRendered
-
setLastRenderedRendered
- Parameters:
aLastRenderedRendered- the lastRenderedRendered to set
-
getNew
-
getFactoryVehicle
-
factoryGetClassID
-
factoryFromFileInput
-
factoryFromFileInput_OLD
Deprecated. -
factoryClassFromFileInput
Deprecated. -
factoryFromFileInput
-
sync
public void sync() -
syncIsoObject
-
syncIsoObjectSend
-
syncIsoObjectReceive
-
syncFluidContainerReceive
-
syncFluidContainerSend
-
getTextureName
-
Serialize
public boolean Serialize() -
getModData
-
setModData
-
hasModData
public boolean hasModData() -
getSquare
- Specified by:
getSquarein classGameEntity
-
setSquare
- Parameters:
_square- the square to set
-
getChunk
-
update
public void update() -
renderlast
public void renderlast()- Overrides:
renderlastin classGameEntity
-
DirtySlice
public void DirtySlice() -
getObjectName
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
saveState
- Throws:
IOException
-
loadState
- Throws:
IOException
-
softReset
public void softReset() -
AttackObject
-
onMouseRightClick
public void onMouseRightClick(int lx, int ly) -
onMouseRightReleased
public void onMouseRightReleased() -
Hit
-
Damage
public void Damage(float amount) -
HitByVehicle
-
Collision
-
UnCollision
-
GetVehicleSlowFactor
-
getRerouteCollide
- Returns:
- the rerouteCollide
-
setRerouteCollide
- Parameters:
_rerouteCollide- the rerouteCollide to set
-
getTable
- Returns:
- the table
-
setTable
- Parameters:
_table- the table to set
-
setAlpha
public void setAlpha(float _alpha) - Parameters:
_alpha- the alpha to set
-
setAlpha
public void setAlpha(int playerIndex, float _alpha) - Parameters:
playerIndex-_alpha- the alpha to set
-
setAlphaToTarget
public void setAlphaToTarget(int playerIndex) - Parameters:
playerIndex- The playerIndex to use
-
setAlphaAndTarget
public void setAlphaAndTarget(float _alpha) - Parameters:
_alpha- the alpha to set
-
setAlphaAndTarget
public void setAlphaAndTarget(int playerIndex, float _alpha) - Parameters:
playerIndex- The playerIndex to use_alpha-
-
getAlpha
public float getAlpha()- Returns:
- the alpha
-
getAlpha
public float getAlpha(int playerIndex) -
getAttachedAnimSprite
- Returns:
- the AttachedAnimSprite
-
setAttachedAnimSprite
- Parameters:
_AttachedAnimSprite- the AttachedAnimSprite to set
-
getAttachedAnimSpriteCount
public int getAttachedAnimSpriteCount() -
hasAttachedAnimSprites
public boolean hasAttachedAnimSprites() -
addAttachedAnimSpriteInstance
-
addAttachedAnimSprite
-
addAttachedAnimSpriteByName
-
getCell
- Returns:
- the cell
-
getChildSprites
- Returns:
- the AttachedAnimSprite
-
setChildSprites
- Parameters:
_AttachedAnimSprite- the AttachedAnimSprite to set
-
clearAttachedAnimSprite
public void clearAttachedAnimSprite() -
getContainer
- Returns:
- the container
-
setContainer
- Parameters:
_container- the container to set
-
getContainers
public <T> PZArrayList<ItemContainer> getContainers(T object1, Invokers.Params2.Boolean.ICallback<T, ItemContainer> iCallback, PZArrayList<ItemContainer> pZArrayList) -
getContainerClickedOn
-
getDir
- Returns:
- the dir
-
setDir
public void setDir(int _dir) - Parameters:
_dir- the dir to set
-
setForwardIsoDirection
- Specified by:
setForwardIsoDirectionin interfaceILuaIsoObject
-
setForwardIsoDirection
public void setForwardIsoDirection(int int0) -
getForwardIsoDirection
-
getForwardMovementIsoDirection
-
getDamage
public short getDamage()- Returns:
- the Damage
-
setDamage
public void setDamage(short _Damage) - Parameters:
_Damage- the Damage to set
-
isNoPicking
public boolean isNoPicking()- Returns:
- the NoPicking
-
setNoPicking
public void setNoPicking(boolean _NoPicking) - Parameters:
_NoPicking- the NoPicking to set
-
isOutlineOnMouseover
public boolean isOutlineOnMouseover()- Returns:
- the OutlineOnMouseover
-
setOutlineOnMouseover
public void setOutlineOnMouseover(boolean _OutlineOnMouseover) - Parameters:
_OutlineOnMouseover- the OutlineOnMouseover to set
-
getRerouteMask
- Returns:
- the rerouteMask
-
setRerouteMask
- Parameters:
_rerouteMask- the rerouteMask to set
-
getSprite
- Returns:
- the sprite
-
setSprite
- Parameters:
_sprite- the sprite to set
-
setSprite
-
setSpriteFromName
-
getSpriteGrid
-
hasSpriteGrid
public boolean hasSpriteGrid() -
getTargetAlpha
public float getTargetAlpha()- Returns:
- the targetAlpha
-
setTargetAlpha
public void setTargetAlpha(float _targetAlpha) - Parameters:
_targetAlpha- the targetAlpha to set
-
setTargetAlpha
public void setTargetAlpha(int playerIndex, float _targetAlpha) - Parameters:
playerIndex-_targetAlpha- the targetAlpha to set
-
getTargetAlpha
public float getTargetAlpha(int playerIndex) -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero()Returns TRUE if both Alpha nad TargetAlpha are transparent, or near-zero. -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero(int playerIndex) -
isAlphaZero
public boolean isAlphaZero()Returns TRUE if Alpha is transparent, or near-zero. -
isAlphaZero
public boolean isAlphaZero(int playerIndex) -
isTargetAlphaZero
public boolean isTargetAlphaZero(int playerIndex) -
getType
- Returns:
- the type
-
setType
-
addChild
-
debugPrintout
public void debugPrintout() -
reset
public void reset()- Overrides:
resetin classGameEntity
-
customHashCode
public long customHashCode() -
SetName
-
getName
-
setName
- Parameters:
_name- the name to set
-
getSpriteName
-
getTile
-
setTile
-
isCharacter
public boolean isCharacter() -
isZombie
public boolean isZombie() -
getScriptName
-
AttachAnim
public IsoSpriteInstance AttachAnim(String string0, String string1, int int0, float float0, int int1, int int2, boolean boolean0, int int3, boolean boolean1, float float1, ColorInfo colorInfo) -
AttachAnim
public IsoSpriteInstance AttachAnim(String string0, String string1, int int0, float float0, int int1, int int2, boolean boolean0, int var8, boolean boolean1, float var10, ColorInfo colorInfo, boolean boolean2) -
AttachExistingAnim
-
AttachExistingAnim
public void AttachExistingAnim(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias) -
DoTooltip
-
DoSpecialTooltip
-
getItemContainer
-
getOffsetX
public float getOffsetX() -
setOffsetX
public void setOffsetX(float _offsetX) - Parameters:
_offsetX- the offsetX to set
-
getOffsetY
public float getOffsetY() -
setOffsetY
public void setOffsetY(float _offsetY) - Parameters:
_offsetY- the offsetY to set
-
getRerouteMaskObject
-
HasTooltip
public boolean HasTooltip() -
getUsesExternalWaterSource
public boolean getUsesExternalWaterSource() -
setUsesExternalWaterSource
public void setUsesExternalWaterSource(boolean b) -
hasExternalWaterSource
public boolean hasExternalWaterSource() -
doFindExternalWaterSource
public void doFindExternalWaterSource() -
FindExternalWaterSource
-
FindExternalWaterSource
-
FindExternalWaterSource
-
FindWaterSourceOnSquare
-
getPipedFuelAmount
public int getPipedFuelAmount() -
setPipedFuelAmount
public void setPipedFuelAmount(int units) -
getFluidAmount
public float getFluidAmount() -
emptyFluid
public void emptyFluid() -
getFluidCapacity
public float getFluidCapacity() -
useFluid
public float useFluid(float float0) -
addFluid
-
canTransferFluidFrom
-
canTransferFluidTo
-
transferFluidTo
-
transferFluidFrom
-
moveFluidToTemporaryContainer
-
getFluidUiName
-
hasFluid
public boolean hasFluid() -
hasWater
public boolean hasWater() -
isFluidInputLocked
public boolean isFluidInputLocked() -
isTaintedWater
public boolean isTaintedWater() -
replaceItem
-
useItemOn
Deprecated. -
isCanPath
public boolean isCanPath() -
getX
public float getX()- Specified by:
getXin classGameEntity
-
getY
public float getY()- Specified by:
getYin classGameEntity
-
getZ
public float getZ()- Specified by:
getZin classGameEntity
-
getPosition
-
getPosition
public org.lwjgl.util.vector.Vector3f getPosition(org.lwjgl.util.vector.Vector3f vector3f) -
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y) -
getProperties
-
RemoveAttachedAnims
public void RemoveAttachedAnims() -
RemoveAttachedAnim
public void RemoveAttachedAnim(int index) -
afterRotated
public void afterRotated() -
getFacingPosition
-
getFacingPositionAlt
-
getRenderYOffset
public float getRenderYOffset() -
setRenderYOffset
public void setRenderYOffset(float f) -
isTableSurface
public boolean isTableSurface() -
isTableTopObject
public boolean isTableTopObject() -
getIsSurfaceNormalOffset
public boolean getIsSurfaceNormalOffset() -
getSurfaceNormalOffset
public float getSurfaceNormalOffset() -
getSurfaceOffsetNoTable
public float getSurfaceOffsetNoTable() -
getSurfaceOffset
public float getSurfaceOffset() -
isStairsNorth
public boolean isStairsNorth() -
isStairsWest
public boolean isStairsWest() -
isStairsObject
public boolean isStairsObject() -
isHoppable
public boolean isHoppable() -
isTallHoppable
public boolean isTallHoppable() -
isNorthHoppable
public boolean isNorthHoppable() -
isWall
public boolean isWall() -
isWallN
public boolean isWallN() -
isWallW
public boolean isWallW() -
haveSheetRope
public boolean haveSheetRope() -
countAddSheetRope
public int countAddSheetRope() -
canAddSheetRope
public boolean canAddSheetRope() -
addSheetRope
-
removeSheetRope
-
setDoRender
public void setDoRender(boolean boolean0) - Specified by:
setDoRenderin interfaceIsoRenderable
-
getDoRender
public boolean getDoRender()- Specified by:
getDoRenderin interfaceIsoRenderable
-
isSceneCulled
public boolean isSceneCulled()- Specified by:
isSceneCulledin interfaceIsoRenderable
-
setSceneCulled
public void setSceneCulled(boolean boolean0) - Specified by:
setSceneCulledin interfaceIsoRenderable
-
render
public void render(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) - Specified by:
renderin interfaceIsoRenderable
-
renderFloorTile
public void renderFloorTile(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier, Consumer<TextureDraw> attachedAndOverlayModifier) -
renderWallTile
public void renderWallTile(IsoDirections directions, float float2, float float1, float float0, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) -
renderWallTileDepth
public void renderWallTileDepth(IsoDirections directions, boolean boolean1, boolean boolean2, boolean boolean3, int int2, float float1, float float2, float float3, ColorInfo colorInfo0, Shader var10, Consumer<TextureDraw> consumer) -
renderWallTileOnly
public void renderWallTileOnly(IsoDirections directions, float float2, float float3, float float4, ColorInfo colorInfo0, Shader shader, Consumer<TextureDraw> consumer) -
renderAttachedAndOverlaySprites
public void renderAttachedAndOverlaySprites(IsoDirections directions, float float0, float float1, float float2, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) -
isSpriteInvisible
public boolean isSpriteInvisible() -
renderFxMask
public void renderFxMask(float x, float y, float z, boolean bDoAttached) -
renderObjectPicker
-
TestPathfindCollide
-
TestCollide
-
TestVision
-
getCurrentFrameTex
-
isMaskClicked
public boolean isMaskClicked(int x, int y) -
isMaskClicked
public boolean isMaskClicked(int x, int y, boolean flip) -
getMaskClickedY
public float getMaskClickedY(int x, int y, boolean flip) -
getCustomColor
-
setCustomColor
-
setCustomColor
public void setCustomColor(float r, float g, float b, float a) -
loadFromRemoteBuffer
-
loadFromRemoteBuffer
-
addToWorld
public void addToWorld()- Overrides:
addToWorldin classGameEntity
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorldin classGameEntity
-
removeFromWorldToMeta
public final void removeFromWorldToMeta() -
reuseGridSquare
public void reuseGridSquare() -
removeFromSquare
public void removeFromSquare() -
transmitCustomColorToClients
public void transmitCustomColorToClients() -
transmitCompleteItemToClients
public void transmitCompleteItemToClients() -
transmitUpdatedSpriteToClients
-
transmitUpdatedSpriteToClients
public void transmitUpdatedSpriteToClients() -
transmitUpdatedSprite
public void transmitUpdatedSprite() -
sendObjectChange
-
sendObjectChange
-
sendObjectChange
-
saveChange
-
loadChange
-
transmitUpdatedSpriteToServer
Deprecated. -
transmitCompleteItemToServer
Deprecated. -
transmitModData
public void transmitModData() -
writeToRemoteBuffer
-
getObjectIndex
public int getObjectIndex() -
getMovingObjectIndex
public int getMovingObjectIndex() -
getSpecialObjectIndex
public int getSpecialObjectIndex() -
getStaticMovingObjectIndex
public int getStaticMovingObjectIndex() -
getWorldObjectIndex
public int getWorldObjectIndex() -
getOverlaySprite
-
setOverlaySprite
-
setOverlaySprite
-
setOverlaySpriteColor
public void setOverlaySpriteColor(float r, float g, float b, float a) -
getOverlaySpriteColor
-
setOverlaySprite
-
setOverlaySprite
public boolean setOverlaySprite(String _spriteName, float r, float g, float b, float a, boolean bTransmit) -
hasOverlaySprite
public boolean hasOverlaySprite() -
haveSpecialTooltip
public boolean haveSpecialTooltip() -
setSpecialTooltip
public void setSpecialTooltip(boolean _specialTooltip) -
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int _keyId) -
isHighlighted
public boolean isHighlighted() -
setHighlighted
public void setHighlighted(boolean highlight) -
setHighlighted
public void setHighlighted(boolean highlight, boolean renderOnce) -
isHighlightRenderOnce
public boolean isHighlightRenderOnce() -
setHighlightRenderOnce
public void setHighlightRenderOnce(boolean boolean0) -
isHighlighted
public boolean isHighlighted(int int0) -
setHighlighted
public void setHighlighted(int int0, boolean boolean0) -
setHighlighted
public void setHighlighted(int int0, boolean boolean0, boolean boolean1) -
isHighlightRenderOnce
public boolean isHighlightRenderOnce(int int0) -
setHighlightRenderOnce
public void setHighlightRenderOnce(int int0, boolean boolean0) -
getHighlightColor
-
setHighlightColor
-
setHighlightColor
public void setHighlightColor(float r, float g, float b, float a) -
getHighlightColor
-
setHighlightColor
-
setHighlightColor
public void setHighlightColor(int int0, float float0, float float1, float float2, float float3) -
isBlink
public boolean isBlink() -
setBlink
public void setBlink(boolean blink) -
isBlink
public boolean isBlink(int int0) -
setBlink
public void setBlink(int int0, boolean boolean0) -
isSatChair
public boolean isSatChair() -
setSatChair
public void setSatChair(boolean boolean0) -
checkHaveElectricity
public void checkHaveElectricity() -
checkAmbientSound
public void checkAmbientSound() -
getContainerCount
public int getContainerCount() -
getContainerByIndex
-
getContainerByType
-
getContainerByEitherType
-
addSecondaryContainer
-
getContainerIndex
-
removeAllContainers
public void removeAllContainers() -
createFluidContainersFromSpriteProperties
public void createFluidContainersFromSpriteProperties() -
createContainersFromSpriteProperties
public void createContainersFromSpriteProperties() -
isItemAllowedInContainer
-
isRemoveItemAllowedFromContainer
-
cleanWallBlood
public void cleanWallBlood() -
getWindRenderEffects
-
getObjectRenderEffects
-
setRenderEffect
-
getRenderEffectMaster
-
getRenderEffectObjectCount
public int getRenderEffectObjectCount() -
getRenderEffectObjectByIndex
-
setRenderEffect
-
removeRenderEffect
-
getObjectRenderEffectsToApply
-
destroyFence
-
getSpriteGridObjects
-
getSpriteGridObjectsExcludingSelf
-
getSpriteGridObjectsIncludingSelf
-
getSpriteGridObjects
-
isConnectedSpriteGridObject
-
isOnScreen
public boolean isOnScreen() -
setOutlineHighlightCol
-
getOutlineHighlightCol
public final int getOutlineHighlightCol(int playerIndex) -
setOutlineHighlightCol
-
setOutlineHighlightCol
public final void setOutlineHighlightCol(float r, float g, float b, float a) -
setOutlineHighlightCol
public final void setOutlineHighlightCol(int playerIndex, float r, float g, float b, float a) -
isOutlineHighlight
public final boolean isOutlineHighlight() -
isOutlineHighlight
public final boolean isOutlineHighlight(int playerIndex) -
setOutlineHighlight
public final void setOutlineHighlight(boolean _isOutlineHighlight) -
setOutlineHighlight
public final void setOutlineHighlight(int playerIndex, boolean _isOutlineHighlight) -
isOutlineHlAttached
public final boolean isOutlineHlAttached() -
isOutlineHlAttached
public final boolean isOutlineHlAttached(int playerIndex) -
setOutlineHlAttached
public void setOutlineHlAttached(boolean _isOutlineHlAttached) -
setOutlineHlAttached
public final void setOutlineHlAttached(int playerIndex, boolean _isOutlineHlAttached) -
isOutlineHlBlink
public boolean isOutlineHlBlink() -
isOutlineHlBlink
public final boolean isOutlineHlBlink(int playerIndex) -
setOutlineHlBlink
public void setOutlineHlBlink(boolean _isOutlineHlBlink) -
setOutlineHlBlink
public final void setOutlineHlBlink(int playerIndex, boolean _isOutlineHlBlink) -
unsetOutlineHighlight
public void unsetOutlineHighlight() -
getOutlineThickness
public float getOutlineThickness() -
setOutlineThickness
public void setOutlineThickness(float _outlineThickness) -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceThumpable
-
Thump
-
setMovedThumpable
public void setMovedThumpable(boolean movedThumpable) -
isMovedThumpable
public boolean isMovedThumpable() -
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableForin interfaceThumpable
-
isExistInTheWorld
public boolean isExistInTheWorld() -
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpConditionin interfaceThumpable
-
toString
-
getGameEntityType
- Specified by:
getGameEntityTypein classGameEntity
-
getEntityNetID
public long getEntityNetID()- Specified by:
getEntityNetIDin classGameEntity
-
isEntityValid
public boolean isEntityValid()- Specified by:
isEntityValidin classGameEntity
-
getMasterObject
-
isTent
public boolean isTent() -
getFacing
-
getTileName
-
spawnItemToObjectSurface
-
spawnItemToObjectSurface
-
addItemToObjectSurface
-
addItemToObjectSurface
-
addItemToObjectSurface
-
getRenderInfo
-
invalidateRenderChunkLevel
public void invalidateRenderChunkLevel(long long0) -
invalidateVispolyChunkLevel
public void invalidateVispolyChunkLevel() -
hasAnimatedAttachments
public boolean hasAnimatedAttachments() -
renderAnimatedAttachments
public void renderAnimatedAttachments(float float0, float float1, float float2, ColorInfo colorInfo) -
getRenderSquare
-
setSpriteModelName
-
getSpriteModel
-
isAnimating
public boolean isAnimating() -
setAnimating
public void setAnimating(boolean boolean0) -
onAnimationFinished
public void onAnimationFinished() -
isGrave
public boolean isGrave() -
getOnOverlay
-
setOnOverlay
-
clearOnOverlay
public void clearOnOverlay() -
shouldShowOnOverlay
public boolean shouldShowOnOverlay() -
getLightSource
-
setLightSource
-
checkLightSourceActive
public void checkLightSourceActive() -
isGenericCraftingSurface
public boolean isGenericCraftingSurface() -
isBush
public boolean isBush() -
isFascia
public boolean isFascia() -
getFasciaAttachedSquare
-
setExplored
public void setExplored(boolean boolean0) -
flagForHotSave
public void flagForHotSave() -
hasGridPower
public boolean hasGridPower() -
isObjectNoContainerOrEmpty
public boolean isObjectNoContainerOrEmpty() -
dumpContentsInSquare
public void dumpContentsInSquare() -
isPropaneBBQ
public boolean isPropaneBBQ() -
hasPropaneTank
public boolean hasPropaneTank() -
isFireInteractionObject
public boolean isFireInteractionObject() -
setLit
public void setLit(boolean var1) -
isLit
public boolean isLit() -
turnOn
public void turnOn() -
checkObjectPowered
public boolean checkObjectPowered() -
isStump
public boolean isStump()
-