Interface SpawnLocation


public interface SpawnLocation
Mappings:
Namespace Name
named net/minecraft/entity/SpawnLocation
intermediary net/minecraft/class_9168
official bug
  • Method Details

    • isSpawnPositionOk

      boolean isSpawnPositionOk(WorldView world, BlockPos pos, @Nullable @Nullable EntityType<?> entityType)
      Mappings:
      Namespace Name Mixin selector
      named isSpawnPositionOk Lnet/minecraft/entity/SpawnLocation;isSpawnPositionOk(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/EntityType;)Z
      intermediary isSpawnPositionOk Lnet/minecraft/class_9168;isSpawnPositionOk(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;)Z
      official isSpawnPositionOk Lbug;isSpawnPositionOk(Ldcx;Ljd;Lbsw;)Z
    • adjustPosition

      default BlockPos adjustPosition(WorldView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named adjustPosition Lnet/minecraft/entity/SpawnLocation;adjustPosition(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_56553 Lnet/minecraft/class_9168;method_56553(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      official a Lbug;a(Ldcx;Ljd;)Ljd;