Package net.minecraft.item
Class PlaceBlockItemPlacementContext
java.lang.Object
net.minecraft.item.ItemUsageContext
net.minecraft.item.ItemPlacementContext
net.minecraft.item.PlaceBlockItemPlacementContext
- Mappings:
Namespace Name official cme
intermediary net/minecraft/class_8421
named net/minecraft/item/PlaceBlockItemPlacementContext
-
Field Summary
Fields inherited from class net.minecraft.item.ItemPlacementContext
canReplaceExisting
-
Constructor Summary
ConstructorsConstructorDescriptionPlaceBlockItemPlacementContext
(World world, Hand hand, ItemStack stack, BlockHitResult hitResult) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.minecraft.item.ItemPlacementContext
canPlace, canReplaceExisting, getBlockPos, offset
Methods inherited from class net.minecraft.item.ItemUsageContext
getHand, getHitPos, getHitResult, getHorizontalPlayerFacing, getPlayer, getPlayerYaw, getSide, getStack, getWorld, hitsInsideBlock, shouldCancelInteraction
-
Constructor Details
-
PlaceBlockItemPlacementContext
public PlaceBlockItemPlacementContext(World world, Hand hand, ItemStack stack, BlockHitResult hitResult) - Mappings:
Namespace Name Mixin selector official <init>
Lcme;<init>(Lcql;Lbhh;Lcjr;Leie;)V
intermediary <init>
Lnet/minecraft/class_8421;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;Lnet/minecraft/class_3965;)V
named <init>
Lnet/minecraft/item/PlaceBlockItemPlacementContext;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/hit/BlockHitResult;)V
-
-
Method Details
-
of
public static PlaceBlockItemPlacementContext of(World world, BlockPos pos, Direction direction, ItemStack stack) - Mappings:
Namespace Name Mixin selector official a
Lcme;a(Lcql;Lgt;Lgz;Lcjr;)Lcme;
intermediary method_50806
Lnet/minecraft/class_8421;method_50806(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_1799;)Lnet/minecraft/class_8421;
named of
Lnet/minecraft/item/PlaceBlockItemPlacementContext;of(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/PlaceBlockItemPlacementContext;
-
getPlayerLookDirection
- Overrides:
getPlayerLookDirection
in classItemPlacementContext
- Mappings:
Namespace Name Mixin selector official d
Lcmc;d()Lgz;
intermediary method_7715
Lnet/minecraft/class_1750;method_7715()Lnet/minecraft/class_2350;
named getPlayerLookDirection
Lnet/minecraft/item/ItemPlacementContext;getPlayerLookDirection()Lnet/minecraft/util/math/Direction;
-
getVerticalPlayerLookDirection
- Overrides:
getVerticalPlayerLookDirection
in classItemPlacementContext
- Mappings:
Namespace Name Mixin selector official e
Lcmc;e()Lgz;
intermediary method_32760
Lnet/minecraft/class_1750;method_32760()Lnet/minecraft/class_2350;
named getVerticalPlayerLookDirection
Lnet/minecraft/item/ItemPlacementContext;getVerticalPlayerLookDirection()Lnet/minecraft/util/math/Direction;
-
getPlacementDirections
- Overrides:
getPlacementDirections
in classItemPlacementContext
- Mappings:
Namespace Name Mixin selector official f
Lcmc;f()[Lgz;
intermediary method_7718
Lnet/minecraft/class_1750;method_7718()[Lnet/minecraft/class_2350;
named getPlacementDirections
Lnet/minecraft/item/ItemPlacementContext;getPlacementDirections()[Lnet/minecraft/util/math/Direction;
-