Uses of Class
net.minecraft.world.level.block.entity.DispenserBlockEntity
Package
Description
-
Uses of DispenserBlockEntity in net.minecraft.core.dispenser
Modifier and TypeFieldDescriptionprivate final DispenserBlockEntity
BlockSource.blockEntity
The field for theblockEntity
record component.Modifier and TypeMethodDescriptionBlockSource.blockEntity()
Returns the value of theblockEntity
record component.ModifierConstructorDescriptionBlockSource
(ServerLevel level, BlockPos pos, BlockState state, DispenserBlockEntity blockEntity) Creates an instance of aBlockSource
record class. -
Uses of DispenserBlockEntity in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionstatic final BlockEntityType<DispenserBlockEntity>
BlockEntityType.DISPENSER
-
Uses of DispenserBlockEntity in net.minecraftforge.items
Modifier and TypeMethodDescriptionstatic boolean
VanillaInventoryCodeHooks.dropperInsertHook
(Level level, BlockPos pos, DispenserBlockEntity dropper, int slot, @NotNull ItemStack stack) Copied from BlockDropper#dispense and added capability support