类 CompoundContainer
java.lang.Object
net.minecraft.world.CompoundContainer
-
字段概要
字段从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canPlaceItem
(int pIndex, ItemStack pStack) void
boolean
int
getItem
(int pIndex) int
boolean
isEmpty()
removeItem
(int pIndex, int pCount) removeItemNoUpdate
(int pIndex) void
void
void
boolean
stillValid
(Player pPlayer) void
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.Container
canTakeItem, countItem, hasAnyMatching, hasAnyOf
-
字段详细资料
-
container1
-
container2
-
-
构造器详细资料
-
CompoundContainer
-
-
方法详细资料
-
getContainerSize
public int getContainerSize()- 指定者:
getContainerSize
在接口中Container
-
isEmpty
public boolean isEmpty() -
contains
-
getItem
-
removeItem
- 指定者:
removeItem
在接口中Container
-
removeItemNoUpdate
- 指定者:
removeItemNoUpdate
在接口中Container
-
setItem
-
getMaxStackSize
public int getMaxStackSize()- 指定者:
getMaxStackSize
在接口中Container
-
setChanged
public void setChanged()- 指定者:
setChanged
在接口中Container
-
stillValid
- 指定者:
stillValid
在接口中Container
-
startOpen
-
stopOpen
-
canPlaceItem
- 指定者:
canPlaceItem
在接口中Container
-
clearContent
public void clearContent()- 指定者:
clearContent
在接口中Clearable
-