Package net.minecraft.world
Class GridCarrierView
java.lang.Object
net.minecraft.world.GridCarrierView
- All Implemented Interfaces:
BlockView,CollisionView,HeightLimitView
- Direct Known Subclasses:
ClientGridCarrierView
- Mappings:
Namespace Name official cpaintermediary net/minecraft/class_9513named net/minecraft/world/GridCarrierView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RegistryEntry<Biome> private Gridprivate Boxprotected final GridCarrierEntityprotected final World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBiome()getBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.getBlockState(BlockPos pos) Returns the block state atpos.intReturns the bottom Y level, or height, inclusive, of this view.getChunkAsView(int chunkX, int chunkZ) getEntityCollisions(@Nullable Entity entity, Box box) getFluidState(BlockPos pos) Returns the fluid state atpos.getGrid()intgetWorld()booleanisPotato()voidsetBiome(RegistryEntry<Biome> biome) voidvoidsetGridPosition(double x, double y, double z) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_59084, method_59085Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official aLcpa;a:Ldca;intermediary field_50513Lnet/minecraft/class_9513;field_50513:Lnet/minecraft/class_1937;named worldLnet/minecraft/world/GridCarrierView;world:Lnet/minecraft/world/World;
-
gridCarrier
- Mappings:
Namespace Name Mixin selector official bLcpa;b:Lcoz;intermediary field_50514Lnet/minecraft/class_9513;field_50514:Lnet/minecraft/class_9511;named gridCarrierLnet/minecraft/world/GridCarrierView;gridCarrier:Lnet/minecraft/entity/GridCarrierEntity;
-
grid
- Mappings:
Namespace Name Mixin selector official dLcpa;d:Lcpb;intermediary field_50516Lnet/minecraft/class_9513;field_50516:Lnet/minecraft/class_9514;named gridLnet/minecraft/world/GridCarrierView;grid:Lnet/minecraft/world/Grid;
-
biome
- Mappings:
Namespace Name Mixin selector official cLcpa;c:Lja;intermediary field_50515Lnet/minecraft/class_9513;field_50515:Lnet/minecraft/class_6880;named biomeLnet/minecraft/world/GridCarrierView;biome:Lnet/minecraft/registry/entry/RegistryEntry;
-
gridBox
- Mappings:
Namespace Name Mixin selector official eLcpa;e:Lewp;intermediary field_50517Lnet/minecraft/class_9513;field_50517:Lnet/minecraft/class_238;named gridBoxLnet/minecraft/world/GridCarrierView;gridBox:Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
GridCarrierView
- Mappings:
Namespace Name Mixin selector official <init>Lcpa;<init>(Ldca;Lcoz;)Vintermediary <init>Lnet/minecraft/class_9513;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_9511;)Vnamed <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 aLcpa;a(DDD)Vintermediary method_58960Lnet/minecraft/class_9513;method_58960(DDD)Vnamed setGridPositionLnet/minecraft/world/GridCarrierView;setGridPosition(DDD)V
-
setGrid
- Mappings:
Namespace Name Mixin selector official aLcpa;a(Lcpb;)Vintermediary method_58961Lnet/minecraft/class_9513;method_58961(Lnet/minecraft/class_9514;)Vnamed setGridLnet/minecraft/world/GridCarrierView;setGrid(Lnet/minecraft/world/Grid;)V
-
setBiome
- Mappings:
Namespace Name Mixin selector official aLcpa;a(Lja;)Vintermediary method_58962Lnet/minecraft/class_9513;method_58962(Lnet/minecraft/class_6880;)Vnamed setBiomeLnet/minecraft/world/GridCarrierView;setBiome(Lnet/minecraft/registry/entry/RegistryEntry;)V
-
getWorld
- Mappings:
Namespace Name Mixin selector official aLcpa;a()Ldca;intermediary method_58959Lnet/minecraft/class_9513;method_58959()Lnet/minecraft/class_1937;named getWorldLnet/minecraft/world/GridCarrierView;getWorld()Lnet/minecraft/world/World;
-
getBlockState
Returns the block state atpos.- Specified by:
getBlockStatein interfaceBlockView- Returns:
- the block state at
pos - Mappings:
Namespace Name Mixin selector official a_Ldbg;a_(Lir;)Ldtc;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
Returns the fluid state atpos.- Specified by:
getFluidStatein interfaceBlockView- Returns:
- the fluid state at
pos - Mappings:
Namespace Name Mixin selector official b_Ldbg;b_(Lir;)Lepe;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
isPotato
public boolean isPotato() -
getBlockEntity
Returns the block entity atpos, ornullif there is none.- Specified by:
getBlockEntityin interfaceBlockView- Returns:
- the block entity at
pos, ornullif there is none - Mappings:
Namespace Name Mixin selector official c_Ldbg;c_(Lir;)Ldqc;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/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:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official K_Ldcc;K_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- See Also:
- Mappings:
Namespace Name Mixin selector official J_Ldcc;J_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()I
-
getGridCarrierUuid
- Mappings:
Namespace Name Mixin selector official cLcpa;c()Ljava/util/UUID;intermediary method_58963Lnet/minecraft/class_9513;method_58963()Ljava/util/UUID;named getGridCarrierUuidLnet/minecraft/world/GridCarrierView;getGridCarrierUuid()Ljava/util/UUID;
-
getGridCarrier
- Mappings:
Namespace Name Mixin selector official dLcpa;d()Lcoz;intermediary method_58964Lnet/minecraft/class_9513;method_58964()Lnet/minecraft/class_9511;named getGridCarrierLnet/minecraft/world/GridCarrierView;getGridCarrier()Lnet/minecraft/entity/GridCarrierEntity;
-
getGrid
- Mappings:
Namespace Name Mixin selector official eLcpa;e()Lcpb;intermediary method_58965Lnet/minecraft/class_9513;method_58965()Lnet/minecraft/class_9514;named getGridLnet/minecraft/world/GridCarrierView;getGrid()Lnet/minecraft/world/Grid;
-
getBiome
- Mappings:
Namespace Name Mixin selector official gLcpa;g()Lja;intermediary method_58966Lnet/minecraft/class_9513;method_58966()Lnet/minecraft/class_6880;named getBiomeLnet/minecraft/world/GridCarrierView;getBiome()Lnet/minecraft/registry/entry/RegistryEntry;
-
getGridBox
- Mappings:
Namespace Name Mixin selector official hLcpa;h()Lewp;intermediary method_58967Lnet/minecraft/class_9513;method_58967()Lnet/minecraft/class_238;named getGridBoxLnet/minecraft/world/GridCarrierView;getGridBox()Lnet/minecraft/util/math/Box;
-
getRenderOffsetGridBox
- Mappings:
Namespace Name Mixin selector official iLcpa;i()Lewp;intermediary method_58968Lnet/minecraft/class_9513;method_58968()Lnet/minecraft/class_238;named getRenderOffsetGridBoxLnet/minecraft/world/GridCarrierView;getRenderOffsetGridBox()Lnet/minecraft/util/math/Box;
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceCollisionView- Mappings:
Namespace Name Mixin selector official D_Ldbk;D_()Ldut;intermediary method_8621Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;named getWorldBorderLnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
-
getChunkAsView
- Specified by:
getChunkAsViewin interfaceCollisionView- Mappings:
Namespace Name Mixin selector official aLdbk;a(II)Ldbg;intermediary method_22338Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;named getChunkAsViewLnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
-
getEntityCollisions
- Specified by:
getEntityCollisionsin interfaceCollisionView- Mappings:
Namespace Name Mixin selector official aLdbk;a(Lbrv;Lewp;)Ljava/util/List;intermediary method_20743Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/List;named getEntityCollisionsLnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/List;
-
getRenderOFfset
- Mappings:
Namespace Name Mixin selector official jLcpa;j()Lewu;intermediary method_58969Lnet/minecraft/class_9513;method_58969()Lnet/minecraft/class_243;named getRenderOFfsetLnet/minecraft/world/GridCarrierView;getRenderOFfset()Lnet/minecraft/util/math/Vec3d;
-