use of org.lanternpowered.server.inventory.equipment.LanternWornEquipmentType in project LanternServer by LanternPowered.
the class EquipmentTypeRegistryModule method registerDefaults.
@Override
public void registerDefaults() {
register(new LanternEquipmentType("minecraft", "all", type -> true));
register(new LanternEquipmentType("minecraft", "equipped", type -> type instanceof LanternHeldEquipmentType || type instanceof LanternWornEquipmentType));
register(new LanternHeldEquipmentType("minecraft", "held", type -> type instanceof LanternHeldEquipmentType));
register(new LanternHeldEquipmentType("minecraft", "main_hand"));
register(new LanternHeldEquipmentType("minecraft", "off_hand"));
register(new LanternWornEquipmentType("minecraft", "worn", type -> type instanceof LanternWornEquipmentType));
register(new LanternWornEquipmentType("minecraft", "boots"));
register(new LanternWornEquipmentType("minecraft", "chestplate"));
register(new LanternWornEquipmentType("minecraft", "headwear"));
register(new LanternWornEquipmentType("minecraft", "leggings"));
}
Aggregations