Class ServerPlayer1_20
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<V>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<L,V>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<P,V>
mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<P,net.minecraft.world.entity.EntityType<?>>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.entity.Player1_20<net.minecraft.server.level.ServerPlayer>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.server.entity.ServerPlayer1_20
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor,mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.entity.EntityType<?>>,mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.entity.EntityType<?>>
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI
effectsGetter, entity, registryNameFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
wrappedFields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>getBedPos(mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?> dimension) Returns null if the dimension fails to match correctly or if the respawn position does not existintbooleanMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.entity.Player1_20
canTarget, getAir, getAttackTarget, getBoundingBox, getBoundingBox, getData, getDimension, getHealth, getInventory, getMainHandStack, getMaxHealth, getName, getOffHandStack, getPos, getRootVehicle, getUUID, getVehicle, getWorld, isAlive, isAnimal, isFishing, isFlying, isHostile, isLiving, isOwnedBy, isPlayer, sendMessage, sendStatusMessage, setPosition, setRegistryName, x, y, zMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI
getStackInHand, isGamemodeAdventure, isGamemodeCreative, isGamemodeSpectator, isGamemodeSurvival, sendMessageMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI
getHealthPercentMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI
equals, getActiveEffects, getActiveEffectsMethodName, getDistanceTo, getDistanceTo, getDistanceTo, getEffectsGetter, getEntity, getPosExact, getPosRounded, getRegistryName, isErroredEffects, setLocalRegistryName, setPosition, setPosition, setPosition, unwrapEntityMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
getWrapped, getWrappedClass, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI
getName, getRegistry, getRegistryName, setForgeRegistryNameMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped
getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrapped, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
-
Constructor Details
-
ServerPlayer1_20
-
-
Method Details
-
getBedPos
public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> getBedPos(mods.thecomputerizer.theimpossiblelibrary.api.world.DimensionAPI<?> dimension) Returns null if the dimension fails to match correctly or if the respawn position does not exist- Specified by:
getBedPosin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<net.minecraft.server.level.ServerPlayer,net.minecraft.world.entity.EntityType<?>>
-
getGamemodeOrdinal
public int getGamemodeOrdinal()- Specified by:
getGamemodeOrdinalin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<net.minecraft.server.level.ServerPlayer,net.minecraft.world.entity.EntityType<?>>
-
isClientPlayer
public boolean isClientPlayer()- Specified by:
isClientPlayerin classmods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<net.minecraft.server.level.ServerPlayer,net.minecraft.world.entity.EntityType<?>>
-