-
Notifications
You must be signed in to change notification settings - Fork 6
/
PropertyRegistry.java
25 lines (21 loc) · 1.36 KB
/
PropertyRegistry.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.denizenscript.clientizen.objects.properties;
import com.denizenscript.clientizen.objects.EntityTag;
import com.denizenscript.clientizen.objects.ItemTag;
import com.denizenscript.clientizen.objects.properties.entity.EntitySheared;
import com.denizenscript.clientizen.objects.properties.item.ItemDurability;
import com.denizenscript.clientizen.objects.properties.item.ItemServerScript;
import com.denizenscript.clientizen.objects.properties.material.*;
import com.denizenscript.denizencore.objects.properties.PropertyParser;
import static com.denizenscript.clientizen.objects.properties.material.internal.MaterialEnumProperty.registerProperty;
public class PropertyRegistry {
public static void register() {
registerProperty(MaterialSwitched.class, MaterialSwitched.handledProperties);
registerProperty(MaterialWaterlogged.class, MaterialWaterlogged.handledProperties);
registerProperty(MaterialHalf.class, MaterialHalf.handledProperties);
registerProperty(MaterialInstrument.class, MaterialInstrument.handledProperties);
registerProperty(MaterialLevel.class, MaterialLevel.handledProperties);
PropertyParser.registerProperty(ItemDurability.class, ItemTag.class);
PropertyParser.registerProperty(ItemServerScript.class, ItemTag.class);
PropertyParser.registerProperty(EntitySheared.class, EntityTag.class);
}
}