Package emu.grasscutter.game.home
Class HomeBlockItem
java.lang.Object
emu.grasscutter.game.home.HomeBlockItem
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionintprotected booleanbooleanintinthashCode()booleanof()static HomeBlockItemparseFrom(HomeworldDefaultSaveData.HomeBlock homeBlock) voidsetBlockId(int blockId) voidsetDeployAnimalList(List<HomeAnimalItem> deployAnimalList) voidsetDeployFurnitureList(List<HomeFurnitureItem> deployFurnitureList) voidsetDeployNPCList(List<HomeNPCItem> deployNPCList) voidsetPersistentFurnitureList(List<HomeFurnitureItem> persistentFurnitureList) voidsetUnlocked(boolean unlocked) toProto()toString()voidupdate(HomeBlockArrangementInfoOuterClass.HomeBlockArrangementInfo homeBlockArrangementInfo)
-
Method Details
-
update
public void update(HomeBlockArrangementInfoOuterClass.HomeBlockArrangementInfo homeBlockArrangementInfo) -
calComfort
public int calComfort() -
toProto
-
parseFrom
-
of
-
getBlockId
public int getBlockId() -
isUnlocked
public boolean isUnlocked() -
getDeployFurnitureList
-
getPersistentFurnitureList
-
getDeployAnimalList
-
getDeployNPCList
-
setBlockId
public void setBlockId(int blockId) -
setUnlocked
public void setUnlocked(boolean unlocked) -
setDeployFurnitureList
-
setPersistentFurnitureList
-
setDeployAnimalList
-
setDeployNPCList
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-