Contents
Class ItemAttitudeMap
java.lang.Object
com.hypixel.hytale.server.npc.blackboard.view.attitude.ItemAttitudeMap
A mapping of ItemAttitudeGroups to Attitudes towards individual item BlockTypeKeys.
The map is designed to be immutable for threaded use, with individual groups only ever being replaced in their entirety and only during asset reload. Removal or addition of new groups requires regenerating the whole map. Created on 16/09/2020
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAttitude(int group, ItemStack item) intvoidupdateAttitudeGroup(int id, ItemAttitudeGroup group)
-
Method Details
-
getAttitude
-
getAttitudeGroupCount
public int getAttitudeGroupCount() -
updateAttitudeGroup
-