类 BrewingStandBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.world.level.block.entity.BrewingStandBlockEntity
- 所有已实现的接口:
Iterable<ItemStack>
,Clearable
,Container
,MenuConstructor
,MenuProvider
,Nameable
,WorldlyContainer
,IAttachmentHolder
,IBlockEntityExtension
,IMenuProviderExtension
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
从接口继承的嵌套类/接口 net.minecraft.world.Container
Container.ContainerIterator
-
字段概要
字段修饰符和类型字段说明(专用程序包) int
static final int
static final int
protected final ContainerData
private static final short
private static final byte
(专用程序包) int
private static final int
static final int
private Item
private static final int
private NonNullList
<ItemStack> private boolean[]
static final int
private static final int[]
private static final int[]
private static final int[]
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canPlaceItem
(int p_59017_, ItemStack p_59018_) boolean
canPlaceItemThroughFace
(int p_58996_, ItemStack p_58997_, Direction p_58998_) boolean
canTakeItemThroughFace
(int p_59020_, ItemStack p_59021_, Direction p_59022_) protected AbstractContainerMenu
createMenu
(int p_58990_, Inventory p_58991_) private static void
doBrew
(Level p_155291_, BlockPos p_155292_, NonNullList<ItemStack> p_155293_) int
protected Component
protected NonNullList
<ItemStack> getItems()
private boolean[]
int[]
getSlotsForFace
(Direction p_59010_) private static boolean
isBrewable
(PotionBrewing p_341061_, NonNullList<ItemStack> p_155295_) protected void
loadAdditional
(ValueInput p_421911_) protected void
saveAdditional
(ValueOutput p_422167_) static void
serverTick
(Level p_155286_, BlockPos p_155287_, BlockState p_155288_, BrewingStandBlockEntity p_155289_) protected void
setItems
(NonNullList<ItemStack> p_332710_) 从类继承的方法 net.minecraft.world.level.block.entity.BaseContainerBlockEntity
applyImplicitComponents, canOpen, canUnlock, clearContent, collectImplicitComponents, createMenu, getCustomName, getDisplayName, getItem, getName, isEmpty, removeComponentsFromTag, removeItem, removeItemNoUpdate, setItem, stillValid
从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, triggerEvent
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.Clearable
clearContent
从接口继承的方法 net.minecraft.world.Container
canTakeItem, countItem, getItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpen
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
从接口继承的方法 net.neoforged.neoforge.common.extensions.IMenuProviderExtension
shouldTriggerClientSideContainerClosingOnOpen, writeClientSideData
从接口继承的方法 java.lang.Iterable
forEach, spliterator
从接口继承的方法 net.minecraft.world.Nameable
hasCustomName
-
字段详细资料
-
INGREDIENT_SLOT
private static final int INGREDIENT_SLOT- 另请参阅:
-
FUEL_SLOT
private static final int FUEL_SLOT- 另请参阅:
-
SLOTS_FOR_UP
private static final int[] SLOTS_FOR_UP -
SLOTS_FOR_DOWN
private static final int[] SLOTS_FOR_DOWN -
SLOTS_FOR_SIDES
private static final int[] SLOTS_FOR_SIDES -
FUEL_USES
public static final int FUEL_USES- 另请参阅:
-
DATA_BREW_TIME
public static final int DATA_BREW_TIME- 另请参阅:
-
DATA_FUEL_USES
public static final int DATA_FUEL_USES- 另请参阅:
-
NUM_DATA_VALUES
public static final int NUM_DATA_VALUES- 另请参阅:
-
DEFAULT_BREW_TIME
private static final short DEFAULT_BREW_TIME- 另请参阅:
-
DEFAULT_FUEL
private static final byte DEFAULT_FUEL- 另请参阅:
-
items
-
brewTime
int brewTime -
lastPotionCount
private boolean[] lastPotionCount -
ingredient
-
fuel
int fuel -
dataAccess
-
-
构造器详细资料
-
BrewingStandBlockEntity
-
-
方法详细资料
-
getDefaultName
- 指定者:
getDefaultName
在类中BaseContainerBlockEntity
-
getContainerSize
public int getContainerSize()- 指定者:
getContainerSize
在接口中Container
-
getItems
- 指定者:
getItems
在类中BaseContainerBlockEntity
-
setItems
- 指定者:
setItems
在类中BaseContainerBlockEntity
-
serverTick
public static void serverTick(Level p_155286_, BlockPos p_155287_, BlockState p_155288_, BrewingStandBlockEntity p_155289_) -
getPotionBits
private boolean[] getPotionBits() -
isBrewable
-
doBrew
-
loadAdditional
-
saveAdditional
-
canPlaceItem
- 指定者:
canPlaceItem
在接口中Container
-
getSlotsForFace
- 指定者:
getSlotsForFace
在接口中WorldlyContainer
-
canPlaceItemThroughFace
public boolean canPlaceItemThroughFace(int p_58996_, ItemStack p_58997_, @Nullable Direction p_58998_) - 指定者:
canPlaceItemThroughFace
在接口中WorldlyContainer
-
canTakeItemThroughFace
- 指定者:
canTakeItemThroughFace
在接口中WorldlyContainer
-
createMenu
- 指定者:
createMenu
在类中BaseContainerBlockEntity
-