Class GridCarrierView

java.lang.Object
net.minecraft.world.GridCarrierView
All Implemented Interfaces:
BlockView, CollisionView, HeightLimitView
Direct Known Subclasses:
ClientGridCarrierView

public class GridCarrierView extends Object implements BlockView, CollisionView
Mappings:
Namespace Name
official cpa
intermediary net/minecraft/class_9513
named net/minecraft/world/GridCarrierView
  • Field Details

    • world

      protected final World world
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a:Ldca;
      intermediary field_50513 Lnet/minecraft/class_9513;field_50513:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/world/GridCarrierView;world:Lnet/minecraft/world/World;
    • gridCarrier

      protected final GridCarrierEntity gridCarrier
      Mappings:
      Namespace Name Mixin selector
      official b Lcpa;b:Lcoz;
      intermediary field_50514 Lnet/minecraft/class_9513;field_50514:Lnet/minecraft/class_9511;
      named gridCarrier Lnet/minecraft/world/GridCarrierView;gridCarrier:Lnet/minecraft/entity/GridCarrierEntity;
    • grid

      private Grid grid
      Mappings:
      Namespace Name Mixin selector
      official d Lcpa;d:Lcpb;
      intermediary field_50516 Lnet/minecraft/class_9513;field_50516:Lnet/minecraft/class_9514;
      named grid Lnet/minecraft/world/GridCarrierView;grid:Lnet/minecraft/world/Grid;
    • biome

      protected RegistryEntry<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      official c Lcpa;c:Lja;
      intermediary field_50515 Lnet/minecraft/class_9513;field_50515:Lnet/minecraft/class_6880;
      named biome Lnet/minecraft/world/GridCarrierView;biome:Lnet/minecraft/registry/entry/RegistryEntry;
    • gridBox

      private Box gridBox
      Mappings:
      Namespace Name Mixin selector
      official e Lcpa;e:Lewp;
      intermediary field_50517 Lnet/minecraft/class_9513;field_50517:Lnet/minecraft/class_238;
      named gridBox Lnet/minecraft/world/GridCarrierView;gridBox:Lnet/minecraft/util/math/Box;
  • Constructor Details

    • GridCarrierView

      public GridCarrierView(World world, GridCarrierEntity gridCarrier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpa;<init>(Ldca;Lcoz;)V
      intermediary <init> Lnet/minecraft/class_9513;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_9511;)V
      named <init> Lnet/minecraft/world/GridCarrierView;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/GridCarrierEntity;)V
  • Method Details

    • setGridPosition

      public void setGridPosition(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a(DDD)V
      intermediary method_58960 Lnet/minecraft/class_9513;method_58960(DDD)V
      named setGridPosition Lnet/minecraft/world/GridCarrierView;setGridPosition(DDD)V
    • setGrid

      public void setGrid(Grid grid)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a(Lcpb;)V
      intermediary method_58961 Lnet/minecraft/class_9513;method_58961(Lnet/minecraft/class_9514;)V
      named setGrid Lnet/minecraft/world/GridCarrierView;setGrid(Lnet/minecraft/world/Grid;)V
    • setBiome

      public void setBiome(RegistryEntry<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a(Lja;)V
      intermediary method_58962 Lnet/minecraft/class_9513;method_58962(Lnet/minecraft/class_6880;)V
      named setBiome Lnet/minecraft/world/GridCarrierView;setBiome(Lnet/minecraft/registry/entry/RegistryEntry;)V
    • getWorld

      public World getWorld()
      Mappings:
      Namespace Name Mixin selector
      official a Lcpa;a()Ldca;
      intermediary method_58959 Lnet/minecraft/class_9513;method_58959()Lnet/minecraft/class_1937;
      named getWorld Lnet/minecraft/world/GridCarrierView;getWorld()Lnet/minecraft/world/World;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Returns the block state at pos.
      Specified by:
      getBlockState in interface BlockView
      Returns:
      the block state at pos
      Mappings:
      Namespace Name Mixin selector
      official a_ Ldbg;a_(Lir;)Ldtc;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getFluidState

      public FluidState getFluidState(BlockPos pos)
      Returns the fluid state at pos.
      Specified by:
      getFluidState in interface BlockView
      Returns:
      the fluid state at pos
      Mappings:
      Namespace Name Mixin selector
      official b_ Ldbg;b_(Lir;)Lepe;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
    • isPotato

      public boolean isPotato()
      Specified by:
      isPotato in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official z_ Ldbg;z_()Z
      intermediary method_58798 Lnet/minecraft/class_1922;method_58798()Z
      named isPotato Lnet/minecraft/world/BlockView;isPotato()Z
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Returns the block entity at pos, or null if there is none.
      Specified by:
      getBlockEntity in interface BlockView
      Returns:
      the block entity at pos, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      official c_ Ldbg;c_(Lir;)Ldqc;
      intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • getHeight

      public int getHeight()
      Returns the difference in the minimum and maximum height.

      This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.

      Specified by:
      getHeight in interface HeightLimitView
      Returns:
      the difference in the minimum and maximum height
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official K_ Ldcc;K_()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I
    • getBottomY

      public int getBottomY()
      Returns the bottom Y level, or height, inclusive, of this view.
      Specified by:
      getBottomY in interface HeightLimitView
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J_ Ldcc;J_()I
      intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
      named getBottomY Lnet/minecraft/world/HeightLimitView;getBottomY()I
    • getGridCarrierUuid

      public UUID getGridCarrierUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lcpa;c()Ljava/util/UUID;
      intermediary method_58963 Lnet/minecraft/class_9513;method_58963()Ljava/util/UUID;
      named getGridCarrierUuid Lnet/minecraft/world/GridCarrierView;getGridCarrierUuid()Ljava/util/UUID;
    • getGridCarrier

      public GridCarrierEntity getGridCarrier()
      Mappings:
      Namespace Name Mixin selector
      official d Lcpa;d()Lcoz;
      intermediary method_58964 Lnet/minecraft/class_9513;method_58964()Lnet/minecraft/class_9511;
      named getGridCarrier Lnet/minecraft/world/GridCarrierView;getGridCarrier()Lnet/minecraft/entity/GridCarrierEntity;
    • getGrid

      public Grid getGrid()
      Mappings:
      Namespace Name Mixin selector
      official e Lcpa;e()Lcpb;
      intermediary method_58965 Lnet/minecraft/class_9513;method_58965()Lnet/minecraft/class_9514;
      named getGrid Lnet/minecraft/world/GridCarrierView;getGrid()Lnet/minecraft/world/Grid;
    • getBiome

      public RegistryEntry<Biome> getBiome()
      Mappings:
      Namespace Name Mixin selector
      official g Lcpa;g()Lja;
      intermediary method_58966 Lnet/minecraft/class_9513;method_58966()Lnet/minecraft/class_6880;
      named getBiome Lnet/minecraft/world/GridCarrierView;getBiome()Lnet/minecraft/registry/entry/RegistryEntry;
    • getGridBox

      public Box getGridBox()
      Mappings:
      Namespace Name Mixin selector
      official h Lcpa;h()Lewp;
      intermediary method_58967 Lnet/minecraft/class_9513;method_58967()Lnet/minecraft/class_238;
      named getGridBox Lnet/minecraft/world/GridCarrierView;getGridBox()Lnet/minecraft/util/math/Box;
    • getRenderOffsetGridBox

      public Box getRenderOffsetGridBox()
      Mappings:
      Namespace Name Mixin selector
      official i Lcpa;i()Lewp;
      intermediary method_58968 Lnet/minecraft/class_9513;method_58968()Lnet/minecraft/class_238;
      named getRenderOffsetGridBox Lnet/minecraft/world/GridCarrierView;getRenderOffsetGridBox()Lnet/minecraft/util/math/Box;
    • getWorldBorder

      public WorldBorder getWorldBorder()
      Specified by:
      getWorldBorder in interface CollisionView
      Mappings:
      Namespace Name Mixin selector
      official D_ Ldbk;D_()Ldut;
      intermediary method_8621 Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
      named getWorldBorder Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
    • getChunkAsView

      @Nullable public @Nullable BlockView getChunkAsView(int chunkX, int chunkZ)
      Specified by:
      getChunkAsView in interface CollisionView
      Mappings:
      Namespace Name Mixin selector
      official a Ldbk;a(II)Ldbg;
      intermediary method_22338 Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
      named getChunkAsView Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
    • getEntityCollisions

      public List<VoxelShape> getEntityCollisions(@Nullable @Nullable Entity entity, Box box)
      Specified by:
      getEntityCollisions in interface CollisionView
      Mappings:
      Namespace Name Mixin selector
      official a Ldbk;a(Lbrv;Lewp;)Ljava/util/List;
      intermediary method_20743 Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/List;
      named getEntityCollisions Lnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/List;
    • getRenderOFfset

      public Vec3d getRenderOFfset()
      Mappings:
      Namespace Name Mixin selector
      official j Lcpa;j()Lewu;
      intermediary method_58969 Lnet/minecraft/class_9513;method_58969()Lnet/minecraft/class_243;
      named getRenderOFfset Lnet/minecraft/world/GridCarrierView;getRenderOFfset()Lnet/minecraft/util/math/Vec3d;