Interface ServerWorldAccess

All Superinterfaces:
BiomeAccess.Storage, BlockRenderView, BlockView, CollisionView, EntityView, HeightLimitView, LunarWorldView, ModifiableTestableWorld, ModifiableWorld, RedstoneView, RegistryWorldView, TestableWorld, WorldAccess, WorldView
All Known Subinterfaces:
StructureWorldAccess
All Known Implementing Classes:
ChunkRegion, ServerWorld

public interface ServerWorldAccess extends WorldAccess
Represents access to a world on a logical Minecraft server.
Mappings:
Namespace Name
official cnb
intermediary net/minecraft/class_5425
named net/minecraft/world/ServerWorldAccess
  • Method Details

    • toServerWorld

      ServerWorld toServerWorld()
      Mappings:
      Namespace Name Mixin selector
      official C Lcnb;C()Laif;
      intermediary method_8410 Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;
      named toServerWorld Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
    • spawnEntityAndPassengers

      default void spawnEntityAndPassengers(Entity entity)
      Spawns an entity and all its passengers (recursively) into the world.
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcnb;a_(Lbfj;)V
      intermediary method_30771 Lnet/minecraft/class_5425;method_30771(Lnet/minecraft/class_1297;)V
      named spawnEntityAndPassengers Lnet/minecraft/world/ServerWorldAccess;spawnEntityAndPassengers(Lnet/minecraft/entity/Entity;)V