Crown Item
A crown, which makes piglins neutral when worn, just like gold armor.
Parameters
ground Block
The crown block placed on the ground
wall Block
The crown block placed on the wall
settings
The item settings to pass to the parent constructor
Constructors
Inherited properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns if the given item has a registered handler when inserted into a staff.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the registered staff handler of the given item if available.
Link copied to clipboard
Returns the registered staff handler of the given item if available, StaffHandler.Default otherwise.
Inherited functions
Link copied to clipboard
Link copied to clipboard
public Unit appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public TypedActionResult<ItemStack> equipAndSwap(Item item, World world, PlayerEntity user, Hand hand)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, StackReference cursorStackReference)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Unit onStoppedUsing(ItemStack stack, World world, LivingEntity user, Integer remainingUseTicks)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public Boolean postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner)
Link copied to clipboard
protected Boolean postPlacement(BlockPos pos, World world, @Nullable() PlayerEntity player, ItemStack stack, BlockState state)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard