| Modifier and Type | Method and Description |
|---|---|
GeyserSession |
GeyserConnector.getPlayerByUuid(UUID uuid)
Gets a player by their current UUID
|
GeyserSession |
GeyserConnector.getPlayerByXuid(String xuid)
Gets a player by their Xbox user identifier
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeyserConnector.addPlayer(GeyserSession player) |
void |
GeyserConnector.removePlayer(GeyserSession player) |
| Modifier and Type | Method and Description |
|---|---|
GeyserSession |
CommandExecutor.getGeyserSession(CommandSender sender) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
GeyserCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
AdvancementsCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
VersionCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
StopCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
StatisticsCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
OffhandCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
SettingsCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
HelpCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
DumpCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
ReloadCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
void |
ListCommand.execute(GeyserSession session,
CommandSender sender,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Entity.despawnEntity(GeyserSession session)
Despawns the entity
|
boolean |
ItemFrameEntity.despawnEntity(GeyserSession session) |
boolean |
ThrowableEntity.despawnEntity(GeyserSession session) |
protected float |
WitherSkullEntity.getDrag(GeyserSession session) |
protected float |
FishingHookEntity.getDrag(GeyserSession session) |
protected float |
ThrowableEntity.getDrag(GeyserSession session) |
protected float |
FishingHookEntity.getGravity(GeyserSession session) |
protected float |
ThrowableEntity.getGravity(GeyserSession session)
Get the gravity of this entity type.
|
static ItemFrameEntity |
ItemFrameEntity.getItemFrameEntity(GeyserSession session,
com.nukkitx.math.vector.Vector3i position)
Finds the Java entity ID of an item frame from its Bedrock position.
|
protected boolean |
FishingHookEntity.isInAir(GeyserSession session) |
protected boolean |
ThrowableEntity.isInWater(GeyserSession session) |
protected boolean |
Entity.isShaking(GeyserSession session)
If true, the entity should be shaking on the client's end.
|
protected boolean |
LivingEntity.isShaking(GeyserSession session) |
void |
Entity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
float yaw,
float pitch,
boolean isOnGround,
boolean teleported) |
void |
Entity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
MinecartEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
BoatEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
ItemEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
ThrowableEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
protected void |
ItemedFireballEntity.moveAbsoluteImmediate(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
protected void |
FishingHookEntity.moveAbsoluteImmediate(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
protected void |
ThrowableEntity.moveAbsoluteImmediate(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
Entity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
float yaw,
float pitch,
boolean isOnGround) |
void |
Entity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
BoatEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
ThrowableEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
protected void |
Entity.setFreezing(GeyserSession session,
float amount)
Set a float from 0-1 - how strong the "frozen" overlay should be on screen.
|
protected void |
LivingEntity.setFreezing(GeyserSession session,
float amount) |
void |
Entity.spawnEntity(GeyserSession session) |
void |
FallingBlockEntity.spawnEntity(GeyserSession session) |
void |
ItemEntity.spawnEntity(GeyserSession session) |
void |
PaintingEntity.spawnEntity(GeyserSession session) |
void |
ExpOrbEntity.spawnEntity(GeyserSession session) |
void |
DefaultBlockMinecartEntity.spawnEntity(GeyserSession session) |
void |
ItemFrameEntity.spawnEntity(GeyserSession session) |
void |
Entity.teleport(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
float yaw,
float pitch,
boolean isOnGround)
Teleports an entity to a new location.
|
void |
ItemedFireballEntity.tick(GeyserSession session) |
void |
Tickable.tick(GeyserSession session) |
void |
FishingHookEntity.tick(GeyserSession session) |
void |
ThrowableEntity.tick(GeyserSession session)
Updates the position for the Bedrock client.
|
void |
LivingEntity.updateArmor(GeyserSession session) |
void |
LivingEntity.updateBedrockAttributes(GeyserSession session,
List<com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute> attributes)
Attributes are properties of an entity that are generally more runtime-based instead of permanent properties.
|
void |
TridentEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
FurnaceMinecartEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
Entity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session)
Applies the Java metadata to the local Bedrock metadata copy
|
void |
TNTEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
TippedArrowEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
CommandBlockMinecartEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
MinecartEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
LivingEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
WitherSkullEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
BoatEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
EnderCrystalEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ThrownPotionEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
FallingBlockEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ItemEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
FireworkEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
FishingHookEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
DefaultBlockMinecartEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AbstractArrowEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ItemFrameEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AreaEffectCloudEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
Entity.updateBedrockMetadata(GeyserSession session)
Sends the Bedrock metadata to the client
|
void |
BoatEntity.updateBedrockMetadata(GeyserSession session) |
void |
ItemFrameEntity.updateBlock(GeyserSession session)
Updates the item frame as a block
|
void |
FurnaceMinecartEntity.updateDefaultBlockMetadata(GeyserSession session) |
void |
CommandBlockMinecartEntity.updateDefaultBlockMetadata(GeyserSession session)
By default, the command block shown is purple on Bedrock, which does not match Java Edition's orange.
|
void |
SpawnerMinecartEntity.updateDefaultBlockMetadata(GeyserSession session) |
void |
DefaultBlockMinecartEntity.updateDefaultBlockMetadata(GeyserSession session) |
void |
Entity.updateHeadLookRotation(GeyserSession session,
float headYaw)
Updates an entity's head position.
|
void |
PaintingEntity.updateHeadLookRotation(GeyserSession session,
float headYaw) |
void |
LivingEntity.updateMainHand(GeyserSession session) |
void |
LivingEntity.updateOffHand(GeyserSession session) |
void |
Entity.updatePositionAndRotation(GeyserSession session,
double moveX,
double moveY,
double moveZ,
float yaw,
float pitch,
boolean isOnGround)
Updates an entity's position and rotation.
|
void |
BoatEntity.updatePositionAndRotation(GeyserSession session,
double moveX,
double moveY,
double moveZ,
float yaw,
float pitch,
boolean isOnGround) |
void |
Entity.updateRotation(GeyserSession session,
float yaw,
float pitch,
boolean isOnGround)
Updates an entity's rotation.
|
void |
BoatEntity.updateRotation(GeyserSession session,
float yaw,
float pitch,
boolean isOnGround) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArmorStandEntity.despawnEntity(GeyserSession session) |
void |
MagmaCubeEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
ArmorStandEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
MagmaCubeEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
ArmorStandEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
ArmorStandEntity.spawnEntity(GeyserSession session) |
void |
GlowSquidEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SlimeEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
InsentientEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SnowGolemEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AgeableEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ArmorStandEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
BatEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ArmorStandEntity.updateBedrockMetadata(GeyserSession session) |
void |
MagmaCubeEntity.updateJump(GeyserSession session,
boolean newOnGround) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PigEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
PandaEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
TurtleEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
FoxEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
BeeEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
PolarBearEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
AxolotlEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
ChickenEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
RabbitEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
StriderEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
OcelotEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
AnimalEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
HoglinEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
protected boolean |
StriderEntity.isShaking(GeyserSession session) |
protected boolean |
HoglinEntity.isShaking(GeyserSession session) |
void |
GoatEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PigEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PandaEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
TurtleEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
MooshroomEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
FoxEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
BeeEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PolarBearEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SheepEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AxolotlEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
RabbitEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
StriderEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PufferFishEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
OcelotEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
TropicalFishEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
HoglinEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
StriderEntity.updateBedrockMetadata(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractHorseEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
LlamaEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
void |
AbstractHorseEntity.spawnEntity(GeyserSession session) |
void |
TraderLlamaEntity.spawnEntity(GeyserSession session) |
void |
ChestedHorseEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AbstractHorseEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
LlamaEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
HorseEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
WolfEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
CatEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
boolean |
ParrotEntity.canEat(GeyserSession session,
String javaIdentifierStripped,
ItemMapping mapping) |
void |
WolfEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
CatEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ParrotEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
TameableEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
CatEntity.updateRotation(GeyserSession session,
float yaw,
float pitch,
boolean isOnGround) |
| Modifier and Type | Method and Description |
|---|---|
void |
VillagerEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
AbstractMerchantEntity.teleport(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
float yaw,
float pitch,
boolean isOnGround) |
void |
VillagerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EnderDragonEntity.despawnEntity(GeyserSession session) |
protected boolean |
BasePiglinEntity.isShaking(GeyserSession session) |
protected boolean |
ZombieVillagerEntity.isShaking(GeyserSession session) |
protected boolean |
SkeletonEntity.isShaking(GeyserSession session) |
protected boolean |
ZombieEntity.isShaking(GeyserSession session) |
void |
EnderDragonEntity.spawnEntity(GeyserSession session) |
void |
EnderDragonEntity.tick(GeyserSession session) |
void |
EnderDragonEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
CreeperEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PiglinEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SpiderEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
GhastEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
BasePiglinEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
VexEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ZoglinEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
WitherEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
GuardianEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
AbstractSkeletonEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
EndermanEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ZombieVillagerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ShulkerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SkeletonEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
ZombieEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PhantomEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
BlazeEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PiglinEntity.updateOffHand(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PillagerEntity.checkForCrossbow(GeyserSession session)
Check for a crossbow in either the mainhand or offhand.
|
void |
VindicatorEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SpellcasterIllagerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PillagerEntity.updateMainHand(GeyserSession session) |
void |
PillagerEntity.updateOffHand(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
SkullPlayerEntity.despawnEntity(GeyserSession session,
com.nukkitx.math.vector.Vector3i position) |
void |
PlayerEntity.moveAbsolute(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround,
boolean teleported) |
void |
SessionPlayerEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
PlayerEntity.moveRelative(GeyserSession session,
double relX,
double relY,
double relZ,
com.nukkitx.math.vector.Vector3f rotation,
boolean isOnGround) |
void |
PlayerEntity.sendPlayer(GeyserSession session) |
void |
SkullPlayerEntity.spawnEntity(GeyserSession session)
Overwritten so each entity doesn't check for a linked entity
|
void |
SessionPlayerEntity.spawnEntity(GeyserSession session) |
void |
PlayerEntity.spawnEntity(GeyserSession session) |
void |
SessionPlayerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
PlayerEntity.updateBedrockMetadata(com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata entityMetadata,
GeyserSession session) |
void |
SessionPlayerEntity.updateBedrockMetadata(GeyserSession session) |
void |
PlayerEntity.updateHeadLookRotation(GeyserSession session,
float headYaw) |
void |
PlayerEntity.updatePositionAndRotation(GeyserSession session,
double moveX,
double moveY,
double moveZ,
float yaw,
float pitch,
boolean isOnGround) |
void |
PlayerEntity.updateRotation(GeyserSession session,
float yaw,
float pitch,
boolean isOnGround) |
| Constructor and Description |
|---|
SessionPlayerEntity(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.protocol.bedrock.data.inventory.EnchantOptionData |
GeyserEnchantOption.build(GeyserSession session) |
com.nukkitx.protocol.bedrock.data.inventory.ItemData |
GeyserItemStack.getItemData(GeyserSession session) |
ItemMapping |
GeyserItemStack.getMapping(GeyserSession session) |
void |
PlayerInventory.setCursor(@NonNull GeyserItemStack newCursor,
GeyserSession session) |
void |
StonecutterContainer.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
void |
Container.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
void |
Inventory.setItem(int slot,
@NonNull GeyserItemStack newItem,
GeyserSession session) |
protected static void |
Inventory.updateItemNetId(GeyserItemStack oldItem,
GeyserItemStack newItem,
GeyserSession session) |
| Modifier and Type | Field and Description |
|---|---|
protected GeyserSession |
LoggingPacketHandler.session |
| Constructor and Description |
|---|
UpstreamPacketHandler(GeyserConnector connector,
GeyserSession session) |
| Constructor and Description |
|---|
AdvancementsCache(GeyserSession session) |
BookEditCache(GeyserSession session) |
ChunkCache(GeyserSession session) |
EntityCache(GeyserSession session) |
PreferencesCache(GeyserSession session) |
WorldCache(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
<P extends T> |
PacketTranslatorRegistry.translate(Class<? extends P> clazz,
P packet,
GeyserSession session) |
abstract void |
PacketTranslator.translate(T packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
BedrockAdventureSettingsTranslator.translate(com.nukkitx.protocol.bedrock.packet.AdventureSettingsPacket packet,
GeyserSession session) |
void |
BedrockAnimateTranslator.translate(com.nukkitx.protocol.bedrock.packet.AnimatePacket packet,
GeyserSession session) |
void |
BedrockBlockEntityDataTranslator.translate(com.nukkitx.protocol.bedrock.packet.BlockEntityDataPacket packet,
GeyserSession session) |
void |
BedrockBlockPickRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.BlockPickRequestPacket packet,
GeyserSession session) |
void |
BedrockBookEditTranslator.translate(com.nukkitx.protocol.bedrock.packet.BookEditPacket packet,
GeyserSession session) |
void |
BedrockCommandBlockUpdateTranslator.translate(com.nukkitx.protocol.bedrock.packet.CommandBlockUpdatePacket packet,
GeyserSession session) |
void |
BedrockCommandRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.CommandRequestPacket packet,
GeyserSession session) |
void |
BedrockContainerCloseTranslator.translate(com.nukkitx.protocol.bedrock.packet.ContainerClosePacket packet,
GeyserSession session) |
void |
BedrockEmoteListTranslator.translate(com.nukkitx.protocol.bedrock.packet.EmoteListPacket packet,
GeyserSession session) |
void |
BedrockEntityPickRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.EntityPickRequestPacket packet,
GeyserSession session) |
void |
BedrockFilterTextTranslator.translate(com.nukkitx.protocol.bedrock.packet.FilterTextPacket packet,
GeyserSession session) |
void |
BedrockInventoryTransactionTranslator.translate(com.nukkitx.protocol.bedrock.packet.InventoryTransactionPacket packet,
GeyserSession session) |
void |
BedrockItemFrameDropItemTranslator.translate(com.nukkitx.protocol.bedrock.packet.ItemFrameDropItemPacket packet,
GeyserSession session) |
void |
BedrockItemStackRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.ItemStackRequestPacket packet,
GeyserSession session) |
void |
BedrockLecternUpdateTranslator.translate(com.nukkitx.protocol.bedrock.packet.LecternUpdatePacket packet,
GeyserSession session) |
void |
BedrockMapInfoRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.MapInfoRequestPacket packet,
GeyserSession session) |
void |
BedrockMobEquipmentTranslator.translate(com.nukkitx.protocol.bedrock.packet.MobEquipmentPacket packet,
GeyserSession session) |
void |
BedrockMoveEntityAbsoluteTranslator.translate(com.nukkitx.protocol.bedrock.packet.MoveEntityAbsolutePacket packet,
GeyserSession session) |
void |
BedrockNetworkStackLatencyTranslator.translate(com.nukkitx.protocol.bedrock.packet.NetworkStackLatencyPacket packet,
GeyserSession session) |
void |
BedrockPacketViolationWarningTranslator.translate(com.nukkitx.protocol.bedrock.packet.PacketViolationWarningPacket packet,
GeyserSession session) |
void |
BedrockPlayerInputTranslator.translate(com.nukkitx.protocol.bedrock.packet.PlayerInputPacket packet,
GeyserSession session) |
void |
BedrockPositionTrackingDBClientRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.PositionTrackingDBClientRequestPacket packet,
GeyserSession session) |
void |
BedrockRespawnTranslator.translate(com.nukkitx.protocol.bedrock.packet.RespawnPacket packet,
GeyserSession session) |
void |
BedrockServerSettingsRequestTranslator.translate(com.nukkitx.protocol.bedrock.packet.ServerSettingsRequestPacket packet,
GeyserSession session) |
void |
BedrockSetLocalPlayerAsInitializedTranslator.translate(com.nukkitx.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket packet,
GeyserSession session) |
void |
BedrockShowCreditsTranslator.translate(com.nukkitx.protocol.bedrock.packet.ShowCreditsPacket packet,
GeyserSession session) |
void |
BedrockTextTranslator.translate(com.nukkitx.protocol.bedrock.packet.TextPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
BedrockEntityEventTranslator.translate(com.nukkitx.protocol.bedrock.packet.EntityEventPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
BedrockEmoteTranslator.translate(com.nukkitx.protocol.bedrock.packet.EmotePacket packet,
GeyserSession session) |
void |
BedrockInteractTranslator.translate(com.nukkitx.protocol.bedrock.packet.InteractPacket packet,
GeyserSession session) |
void |
BedrockMovePlayerTranslator.translate(com.nukkitx.protocol.bedrock.packet.MovePlayerPacket packet,
GeyserSession session) |
void |
BedrockActionTranslator.translate(com.nukkitx.protocol.bedrock.packet.PlayerActionPacket packet,
GeyserSession session) |
void |
BedrockRiderJumpTranslator.translate(com.nukkitx.protocol.bedrock.packet.RiderJumpPacket packet,
GeyserSession session) |
void |
BedrockSetPlayerGameTypeTranslator.translate(com.nukkitx.protocol.bedrock.packet.SetPlayerGameTypePacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
BedrockLevelSoundEventTranslator.translate(com.nukkitx.protocol.bedrock.packet.LevelSoundEventPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MessageTranslator.isTooLong(String message,
GeyserSession session)
Checks if the given message is over 256 characters (Java edition server chat limit) and sends a message to the user if it is
|
| Constructor and Description |
|---|
CollisionManager(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ScaffoldingCollision.correctPosition(GeyserSession session,
BoundingBox playerCollision) |
boolean |
BlockCollision.correctPosition(GeyserSession session,
BoundingBox playerCollision)
Returns false if the movement is invalid, and in this case it shouldn't be sent to the server and should be
cancelled
While the Java server should do this, it could result in false flags by anticheat
This functionality is currently only used in 6 or 7 layer snow
|
boolean |
TrapdoorCollision.correctPosition(GeyserSession session,
BoundingBox playerCollision) |
boolean |
DoorCollision.correctPosition(GeyserSession session,
BoundingBox playerCollision) |
boolean |
SnowCollision.correctPosition(GeyserSession session,
BoundingBox playerCollision) |
| Modifier and Type | Method and Description |
|---|---|
void |
SoundEventEffect.handleEffectPacket(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet) |
void |
Effect.handleEffectPacket(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet)
Translates the given
ServerPlayEffectPacket into bedrock and sends it upstream. |
void |
SoundLevelEffect.handleEffectPacket(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet) |
void |
PlaySoundEffect.handleEffectPacket(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InventoryTranslator.checkNetId(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData slotInfoData) |
abstract void |
InventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
protected void |
InventoryTranslator.dumpStackRequestDetails(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData source,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData destination)
Print out the contents of an ItemStackRequest, should the net ID check fail.
|
List<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> |
InventoryTranslator.makeContainerEntries(GeyserSession session,
Inventory inventory,
Set<Integer> affectedSlots) |
static com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ItemEntry |
InventoryTranslator.makeItemEntry(GeyserSession session,
int bedrockSlot,
GeyserItemStack itemStack) |
abstract void |
InventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
abstract void |
InventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
InventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot)
Should be overwritten in cases where specific inventories should reject an item being in a specific spot.
|
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateAutoCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateCreativeRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
Handled in
PlayerInventoryTranslator |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
void |
InventoryTranslator.translateRequests(GeyserSession session,
Inventory inventory,
List<com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest> requests) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
If
InventoryTranslator.shouldHandleRequestFirst(StackRequestActionData, Inventory) returns true, this will be called |
abstract void |
InventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
abstract void |
InventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
abstract void |
InventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Constructor and Description |
|---|
ClickPlan(GeyserSession session,
InventoryTranslator translator,
Inventory inventory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BlockInventoryHolder.checkInteractionPosition(GeyserSession session)
Will be overwritten in the beacon inventory translator to remove the check, since virtual inventories can't exist.
|
abstract void |
InventoryHolder.closeInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.closeInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
abstract void |
InventoryHolder.openInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.openInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
abstract void |
InventoryHolder.prepareInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.prepareInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
protected void |
BlockInventoryHolder.setCustomName(GeyserSession session,
com.nukkitx.math.vector.Vector3i position,
Inventory inventory,
int javaBlockState) |
| Modifier and Type | Method and Description |
|---|---|
void |
MerchantInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
MerchantInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
BrewingInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
Generic3X3InventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
MerchantInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
LoomInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
boolean |
CartographyInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
MerchantInventoryTranslator.translateAutoCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
PlayerInventoryTranslator.translateCreativeRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
PlayerInventoryTranslator.translateRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
LoomInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
EnchantingInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
BeaconInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
StonecutterInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
static void |
PlayerInventoryTranslator.updateCraftingGrid(GeyserSession session,
Inventory inventory)
Update the crafting grid for the player to hide/show the barriers in the creative inventory
|
void |
MerchantInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
BrewingInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
BaseInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
EnchantingInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
BeaconInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
PlayerInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
LecternInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
MerchantInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
PlayerInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
AbstractBlockInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
LecternInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleChestInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
SingleChestInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
SingleChestInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
ChestInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
void |
ChestInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
ChestInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractFurnaceInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHorseInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
ChestedHorseInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
HorseInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
InventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
UIInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
ChestInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
boolean |
ContainerInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
HorseInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
InventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
UIInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
ChestInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
| Modifier and Type | Method and Description |
|---|---|
static com.github.steveice10.opennbt.tag.builtin.CompoundTag |
ItemTranslator.translateDisplayProperties(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
ItemMapping mapping)
Translates the display name of the item
|
static com.github.steveice10.opennbt.tag.builtin.CompoundTag |
ItemTranslator.translateDisplayProperties(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
ItemMapping mapping,
char translationColor) |
void |
NbtItemStackTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping)
Translate the item NBT to Bedrock
|
static com.nukkitx.protocol.bedrock.data.inventory.ItemData |
ItemTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicItemTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
FireworkStarTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
MapItemTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
AxolotlBucketTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
CrossbowTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
BookPagesTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
EnchantmentTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
EnchantedBookTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
ShulkerBoxItemTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
PlayerHeadTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
LeatherArmorTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
void |
FireworkRocketTranslator.translateToBedrock(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag,
ItemMapping mapping) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaAdvancementsTranslator.sendToolbarAdvancementUpdates(GeyserSession session,
com.github.steveice10.mc.protocol.packet.ingame.server.ServerAdvancementsPacket packet)
Handle all advancements progress updates
|
void |
JavaLoginDisconnectTranslator.translate(com.github.steveice10.mc.protocol.packet.login.server.LoginDisconnectPacket packet,
GeyserSession session) |
void |
JavaLoginPluginRequestTranslator.translate(com.github.steveice10.mc.protocol.packet.login.server.LoginPluginRequestPacket packet,
GeyserSession session) |
void |
JavaAdvancementsTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerAdvancementsPacket packet,
GeyserSession session) |
void |
JavaAdvancementsTabTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerAdvancementTabPacket packet,
GeyserSession session) |
void |
JavaBossBarTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerBossBarPacket packet,
GeyserSession session) |
void |
JavaChatTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerChatPacket packet,
GeyserSession session) |
void |
JavaDeclareCommandsTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDeclareCommandsPacket packet,
GeyserSession session) |
void |
JavaDeclareRecipesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDeclareRecipesPacket packet,
GeyserSession session) |
void |
JavaDeclareTagsTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDeclareTagsPacket packet,
GeyserSession session) |
void |
JavaDifficultyTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDifficultyPacket packet,
GeyserSession session) |
void |
JavaDisconnectPacket.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerDisconnectPacket packet,
GeyserSession session) |
void |
JavaJoinGameTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerJoinGamePacket packet,
GeyserSession session) |
void |
JavaKeepAliveTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerKeepAlivePacket packet,
GeyserSession session) |
void |
JavaPingPacket.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerPingPacket packet,
GeyserSession session) |
void |
JavaPluginMessageTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerPluginMessagePacket packet,
GeyserSession session) |
void |
JavaRespawnTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerRespawnPacket packet,
GeyserSession session) |
void |
JavaStatisticsTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerStatisticsPacket packet,
GeyserSession session) |
void |
JavaUnlockRecipesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerUnlockRecipesPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaEntityAnimationTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityAnimationPacket packet,
GeyserSession session) |
void |
JavaEntityAttachTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityAttachPacket packet,
GeyserSession session) |
void |
JavaEntityCollectItemTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityCollectItemPacket packet,
GeyserSession session) |
void |
JavaEntityEffectTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityEffectPacket packet,
GeyserSession session) |
void |
JavaEntityEquipmentTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityEquipmentPacket packet,
GeyserSession session) |
void |
JavaEntityHeadLookTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityHeadLookPacket packet,
GeyserSession session) |
void |
JavaEntityMetadataTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityMetadataPacket packet,
GeyserSession session) |
void |
JavaEntityPositionTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPositionPacket packet,
GeyserSession session) |
void |
JavaEntityPositionRotationTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPositionRotationPacket packet,
GeyserSession session) |
void |
JavaEntityPropertiesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPropertiesPacket packet,
GeyserSession session) |
void |
JavaEntityRemoveEffectTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityRemoveEffectPacket packet,
GeyserSession session) |
void |
JavaEntityRotationTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityRotationPacket packet,
GeyserSession session) |
void |
JavaEntitySetPassengersTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntitySetPassengersPacket packet,
GeyserSession session) |
void |
JavaEntityStatusTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityStatusPacket packet,
GeyserSession session) |
void |
JavaEntityTeleportTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityTeleportPacket packet,
GeyserSession session) |
void |
JavaEntityVelocityTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityVelocityPacket packet,
GeyserSession session) |
void |
JavaRemoveEntitiesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerRemoveEntitiesPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaPlayerAbilitiesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerAbilitiesPacket packet,
GeyserSession session) |
void |
JavaPlayerActionAckTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerActionAckPacket packet,
GeyserSession session) |
void |
JavaPlayerChangeHeldItemTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerChangeHeldItemPacket packet,
GeyserSession session) |
void |
JavaPlayerHealthTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerHealthPacket packet,
GeyserSession session) |
void |
JavaPlayerListEntryTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerPlayerListEntryPacket packet,
GeyserSession session) |
void |
JavaPlayerPositionRotationTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerPositionRotationPacket packet,
GeyserSession session) |
void |
JavaPlayerSetExperienceTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerSetExperiencePacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaSpawnEntityTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnEntityPacket packet,
GeyserSession session) |
void |
JavaSpawnExpOrbTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnExpOrbPacket packet,
GeyserSession session) |
void |
JavaSpawnLivingEntityTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnLivingEntityPacket packet,
GeyserSession session) |
void |
JavaSpawnPaintingTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnPaintingPacket packet,
GeyserSession session) |
void |
JavaSpawnPlayerTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnPlayerPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaDisplayScoreboardTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerDisplayScoreboardPacket packet,
GeyserSession session) |
void |
JavaScoreboardObjectiveTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerScoreboardObjectivePacket packet,
GeyserSession session) |
void |
JavaTeamTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerTeamPacket packet,
GeyserSession session) |
void |
JavaUpdateScoreTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerUpdateScorePacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaClearTitlesTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.title.ServerClearTitlesPacket packet,
GeyserSession session) |
void |
JavaSetActionBarTextTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.title.ServerSetActionBarTextPacket packet,
GeyserSession session) |
void |
JavaSetSubtitleTextTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.title.ServerSetSubtitleTextPacket packet,
GeyserSession session) |
void |
JavaSetTitlesAnimationTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.title.ServerSetTitlesAnimationPacket packet,
GeyserSession session) |
void |
JavaSetTitleTextTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.title.ServerSetTitleTextPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaCloseWindowTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerCloseWindowPacket packet,
GeyserSession session) |
void |
JavaOpenHorseWindowTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenHorseWindowPacket packet,
GeyserSession session) |
void |
JavaOpenWindowTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenWindowPacket packet,
GeyserSession session) |
void |
JavaSetSlotTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerSetSlotPacket packet,
GeyserSession session) |
void |
JavaWindowItemsTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowItemsPacket packet,
GeyserSession session) |
void |
JavaWindowPropertyTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowPropertyPacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaBlockBreakAnimTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockBreakAnimPacket packet,
GeyserSession session) |
void |
JavaBlockChangeTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockChangePacket packet,
GeyserSession session) |
void |
JavaBlockValueTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockValuePacket packet,
GeyserSession session) |
void |
JavaChunkDataTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerChunkDataPacket packet,
GeyserSession session) |
void |
JavaExplosionTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerExplosionPacket packet,
GeyserSession session) |
void |
JavaMapDataTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerMapDataPacket packet,
GeyserSession session) |
void |
JavaMultiBlockChangeTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerMultiBlockChangePacket packet,
GeyserSession session) |
void |
JavaNotifyClientTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerNotifyClientPacket packet,
GeyserSession session) |
void |
JavaPlayBuiltinSoundTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayBuiltinSoundPacket packet,
GeyserSession session) |
void |
JavaPlayEffectTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket packet,
GeyserSession session) |
void |
JavaPlaySoundTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlaySoundPacket packet,
GeyserSession session) |
void |
JavaSpawnParticleTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerSpawnParticlePacket packet,
GeyserSession session) |
void |
JavaSpawnPositionTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerSpawnPositionPacket packet,
GeyserSession session) |
void |
JavaStopSoundTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.ServerStopSoundPacket packet,
GeyserSession session) |
void |
JavaTradeListTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerTradeListPacket packet,
GeyserSession session) |
void |
JavaUnloadChunkTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUnloadChunkPacket packet,
GeyserSession session) |
void |
JavaUpdateTileEntityTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateTileEntityPacket packet,
GeyserSession session) |
void |
JavaUpdateTimeTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateTimePacket packet,
GeyserSession session) |
void |
JavaUpdateViewDistanceTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateViewDistancePacket packet,
GeyserSession session) |
void |
JavaUpdateViewPositionTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateViewPositionPacket packet,
GeyserSession session) |
void |
JavaVehicleMoveTranslator.translate(com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerVehicleMovePacket packet,
GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BlockSoundInteractionHandler.handleBlockInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier)
Handles the block interaction when a player
right-clicks a block.
|
static void |
EntitySoundInteractionHandler.handleEntityInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
Entity entity)
Handles the block interaction when a player
right-clicks an entity.
|
void |
SoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
T value)
Handles the interaction when a player
right-clicks a block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BucketSoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
HoeInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
LeverSoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
GrassPathInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
DoorSoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
ComparatorSoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
void |
FlintAndSteelInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
MilkEntitySoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
Entity value) |
void |
FeedBabySoundInteractionHandler.handleInteraction(GeyserSession session,
com.nukkitx.math.vector.Vector3f position,
Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
int |
GeyserWorldManager.getBlockAt(GeyserSession session,
int x,
int y,
int z) |
abstract int |
WorldManager.getBlockAt(GeyserSession session,
int x,
int y,
int z)
Gets the Java block state at the specified location
|
int |
WorldManager.getBlockAt(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.metadata.Position position)
Gets the Java block state at the specified location
|
int |
WorldManager.getBlockAt(GeyserSession session,
com.nukkitx.math.vector.Vector3i vector)
Gets the Java block state at the specified location
|
Boolean |
GeyserWorldManager.getGameRuleBool(GeyserSession session,
GameRule gameRule) |
abstract Boolean |
WorldManager.getGameRuleBool(GeyserSession session,
GameRule gameRule)
Gets a gamerule value as a boolean
|
int |
GeyserWorldManager.getGameRuleInt(GeyserSession session,
GameRule gameRule) |
abstract int |
WorldManager.getGameRuleInt(GeyserSession session,
GameRule gameRule)
Get a gamerule value as an integer
|
com.nukkitx.nbt.NbtMap |
GeyserWorldManager.getLecternDataAt(GeyserSession session,
int x,
int y,
int z,
boolean isChunkLoad) |
abstract com.nukkitx.nbt.NbtMap |
WorldManager.getLecternDataAt(GeyserSession session,
int x,
int y,
int z,
boolean isChunkLoad)
Sigh.
|
boolean |
GeyserWorldManager.hasPermission(GeyserSession session,
String permission) |
abstract boolean |
WorldManager.hasPermission(GeyserSession session,
String permission)
Checks if the given session's player has a permission
|
void |
GeyserWorldManager.setDifficulty(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.setting.Difficulty difficulty) |
abstract void |
WorldManager.setDifficulty(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.setting.Difficulty difficulty)
Change the difficulty of the Java server
|
void |
GeyserWorldManager.setGameRule(GeyserSession session,
String name,
Object value) |
abstract void |
WorldManager.setGameRule(GeyserSession session,
String name,
Object value)
Updates a gamerule value on the Java server
|
void |
GeyserWorldManager.setPlayerGameMode(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.player.GameMode gameMode) |
abstract void |
WorldManager.setPlayerGameMode(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.player.GameMode gameMode)
Change the game mode of the given session
|
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.nbt.NbtMap |
FlowerPotBlockEntityTranslator.getTag(GeyserSession session,
int blockState,
com.nukkitx.math.vector.Vector3i position)
Get the Nukkit CompoundTag of the flower pot.
|
static com.nukkitx.nbt.NbtMap |
BedrockOnlyBlockEntity.getTag(GeyserSession session,
com.nukkitx.math.vector.Vector3i position,
int blockState)
Get the tag of the Bedrock-only block entity
|
static void |
SkullBlockEntityTranslator.spawnPlayer(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
int blockState) |
static void |
NoteblockBlockEntityTranslator.translate(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.metadata.Position position) |
void |
BedrockOnlyBlockEntity.updateBlock(GeyserSession session,
int blockState,
com.nukkitx.math.vector.Vector3i position)
Update the block on Bedrock Edition.
|
void |
FlowerPotBlockEntityTranslator.updateBlock(GeyserSession session,
int blockState,
com.nukkitx.math.vector.Vector3i position) |
void |
DoubleChestBlockEntityTranslator.updateBlock(GeyserSession session,
int blockState,
com.nukkitx.math.vector.Vector3i position) |
| Constructor and Description |
|---|
Scoreboard(GeyserSession session) |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry |
SkinManager.buildCachedEntry(GeyserSession session,
PlayerEntity playerEntity)
Builds a Bedrock player list entry from our existing, cached Bedrock skin information
|
static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry |
SkinManager.buildEntryManually(GeyserSession session,
UUID uuid,
String username,
long geyserId,
String skinId,
byte[] skinData,
String capeId,
byte[] capeData,
SkinProvider.SkinGeometry geometry)
With all the information needed, build a Bedrock player entry with translated skin information.
|
static void |
SkullSkinManager.requestAndHandleSkin(PlayerEntity entity,
GeyserSession session,
Consumer<SkinProvider.Skin> skinConsumer) |
static void |
SkinManager.requestAndHandleSkinAndCape(PlayerEntity entity,
GeyserSession session,
Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ChunkUtils.applyDimensionHeight(GeyserSession session,
com.github.steveice10.opennbt.tag.builtin.CompoundTag dimensionTag)
Process the minimum and maximum heights for this dimension.
|
static void |
StatisticsUtils.buildAndSendStatisticsMenu(GeyserSession session)
Build a form for the given session with all statistic categories
|
static void |
LoginEncryptionUtils.buildAndShowLoginDetailsWindow(GeyserSession session) |
static void |
LoginEncryptionUtils.buildAndShowLoginWindow(GeyserSession session) |
static void |
LoginEncryptionUtils.buildAndShowMicrosoftAuthenticationWindow(GeyserSession session)
Prompts the user between either OAuth code login or manual password authentication
|
static void |
LoginEncryptionUtils.buildAndShowMicrosoftCodeWindow(GeyserSession session,
com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse msCode)
Shows the code that a user must input into their browser
|
static org.geysermc.cumulus.CustomForm |
SettingsUtils.buildForm(GeyserSession session)
Build a settings form for the given session and store it for later
|
static void |
InventoryUtils.closeInventory(GeyserSession session,
int windowId,
boolean confirm) |
static void |
InventoryUtils.displayInventory(GeyserSession session,
Inventory inventory) |
static void |
LoginEncryptionUtils.encryptPlayerConnection(GeyserConnector connector,
GeyserSession session,
com.nukkitx.protocol.bedrock.packet.LoginPacket loginPacket) |
static void |
InventoryUtils.findOrCreateItem(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack itemStack)
|
static void |
InventoryUtils.findOrCreateItem(GeyserSession session,
String itemName)
Attempt to find the specified item name in the session's inventory.
|
static double |
BlockUtils.getBreakTime(GeyserSession session,
BlockMapping blockMapping,
ItemMapping item,
com.github.steveice10.opennbt.tag.builtin.CompoundTag nbtData,
boolean isSessionPlayer) |
static BlockCollision |
BlockUtils.getCollisionAt(GeyserSession session,
int x,
int y,
int z) |
static int |
ItemUtils.getCorrectBedrockDurability(GeyserSession session,
int javaId,
int original) |
static Inventory |
InventoryUtils.getInventory(GeyserSession session,
int windowId) |
static int |
EffectUtils.getParticleId(GeyserSession session,
@NonNull com.github.steveice10.mc.protocol.data.game.world.particle.ParticleType type)
Used for area effect clouds.
|
static double |
BlockUtils.getSessionBreakTime(GeyserSession session,
BlockMapping blockMapping) |
void |
NewsHandler.handleNews(GeyserSession session,
NewsItemAction action) |
static void |
InventoryUtils.openInventory(GeyserSession session,
Inventory inventory) |
static void |
CooldownUtils.sendCooldown(GeyserSession session)
Starts sending the fake cooldown to the Bedrock client.
|
static void |
ChunkUtils.sendEmptyChunks(GeyserSession session,
com.nukkitx.math.vector.Vector3i position,
int radius,
boolean forceUpdate) |
static void |
PluginMessageUtils.sendMessage(GeyserSession session,
String channel,
byte[] data) |
static void |
DimensionUtils.switchDimension(GeyserSession session,
String javaDimension) |
static ChunkUtils.ChunkData |
ChunkUtils.translateToBedrock(GeyserSession session,
com.github.steveice10.mc.protocol.data.game.chunk.Column column,
int yOffset) |
static void |
ChunkUtils.updateBlock(GeyserSession session,
int blockState,
com.github.steveice10.mc.protocol.data.game.entity.metadata.Position position)
Sends a block update to the Bedrock client.
|
static void |
ChunkUtils.updateBlock(GeyserSession session,
int blockState,
com.nukkitx.math.vector.Vector3i position)
Sends a block update to the Bedrock client.
|
static void |
BlockEntityUtils.updateBlockEntity(GeyserSession session,
com.nukkitx.nbt.NbtMap blockEntity,
com.github.steveice10.mc.protocol.data.game.entity.metadata.Position position) |
static void |
BlockEntityUtils.updateBlockEntity(GeyserSession session,
com.nukkitx.nbt.NbtMap blockEntity,
com.nukkitx.math.vector.Vector3i position) |
static void |
ChunkUtils.updateChunkPosition(GeyserSession session,
com.nukkitx.math.vector.Vector3i position) |
static void |
InventoryUtils.updateCursor(GeyserSession session) |
static void |
EntityUtils.updateMountOffset(Entity passenger,
Entity mount,
GeyserSession session,
boolean rider,
boolean riding,
boolean moreThanOneEntity)
Adjust an entity's height if they have mounted/dismounted an entity.
|
static void |
InteractiveTagManager.updateTag(GeyserSession session,
Entity interactEntity)
Update the suggestion that the client currently has on their screen for this entity (for example, "Feed" or "Ride")
|
Copyright © 2021 GeyserMC. All rights reserved.