File tree Expand file tree Collapse file tree 9 files changed +55
-55
lines changed
protocolize-api/src/main/java/dev/simplix/protocolize/api/item Expand file tree Collapse file tree 9 files changed +55
-55
lines changed Original file line number Diff line number Diff line change 1212@ NoArgsConstructor
1313public class Attribute {
1414
15- AttributeType type ;
16- UUID uuid ;
17- String name ;
18- double value ;
19- Operation operation ;
20- EquipmentSlot slot ;
15+ private AttributeType type ;
16+ private UUID uuid ;
17+ private String name ;
18+ private double value ;
19+ private Operation operation ;
20+ private EquipmentSlot slot ;
2121
2222 /* These may change in the future */
2323 public enum Operation {
Original file line number Diff line number Diff line change 88@ AllArgsConstructor
99@ NoArgsConstructor
1010public class BannerLayer {
11- boolean direct ;
12- int patternType ;
13- String identifier ;
14- String translationKey ;
15- DyeColor color ;
11+ private boolean direct ;
12+ private int patternType ;
13+ private String identifier ;
14+ private String translationKey ;
15+ private DyeColor color ;
1616}
Original file line number Diff line number Diff line change 99@ AllArgsConstructor
1010@ NoArgsConstructor
1111public class Bee {
12- CompoundTag entityData ;
13- int ticksInHive ;
14- int minTicksInHive ;
12+ private CompoundTag entityData ;
13+ private int ticksInHive ;
14+ private int minTicksInHive ;
1515}
Original file line number Diff line number Diff line change 1212@ NoArgsConstructor
1313public class BlockPredicate {
1414
15- BlockSet blockSet ;
16- List <Property > properties ;
17- CompoundTag nbtData ;
15+ private BlockSet blockSet ;
16+ private List <Property > properties ;
17+ private CompoundTag nbtData ;
1818
1919 @ Data
2020 @ AllArgsConstructor
2121 @ NoArgsConstructor
2222 public static class Property {
23- String name ;
24- String exactValue ;
25- String minValue ;
26- String maxValue ;
23+ private String name ;
24+ private String exactValue ;
25+ private String minValue ;
26+ private String maxValue ;
2727 }
2828
2929}
Original file line number Diff line number Diff line change 1010@ AllArgsConstructor
1111@ NoArgsConstructor
1212public class BlockSet {
13- Integer type ;
14- String identifier ;
15- List <Integer > blockIds ;
13+ private Integer type ;
14+ private String identifier ;
15+ private List <Integer > blockIds ;
1616}
Original file line number Diff line number Diff line change 1111@ AllArgsConstructor
1212@ NoArgsConstructor
1313public class Book {
14- String title ;
15- String filteredTitle ;
16- String author ;
17- int generation ;
18- List <Page > pages ;
19- boolean resolved ;
14+ private String title ;
15+ private String filteredTitle ;
16+ private String author ;
17+ private int generation ;
18+ private List <Page > pages ;
19+ private boolean resolved ;
2020
2121 @ Data
2222 @ AllArgsConstructor
2323 @ NoArgsConstructor
2424 public static class Page {
25- ChatElement <?> content ;
26- ChatElement <?> filteredContent ;
25+ private ChatElement <?> content ;
26+ private ChatElement <?> filteredContent ;
2727 }
2828}
Original file line number Diff line number Diff line change 1111@ NoArgsConstructor
1212public class Firework {
1313
14- int flightDuration ;
15- List <Meta > explosions ;
14+ private int flightDuration ;
15+ private List <Meta > explosions ;
1616
1717 @ Data
1818 @ AllArgsConstructor
1919 @ NoArgsConstructor
2020 public static class Meta {
21- Shape shape ;
22- List <Integer > colors ;
23- List <Integer > fadeColors ;
24- boolean trail ;
25- boolean twinkle ;
21+ private Shape shape ;
22+ private List <Integer > colors ;
23+ private List <Integer > fadeColors ;
24+ private boolean trail ;
25+ private boolean twinkle ;
2626
2727 public enum Shape {
2828 SMALL_BALL ,
Original file line number Diff line number Diff line change 1010@ AllArgsConstructor
1111@ NoArgsConstructor
1212public class SoundEvent {
13- Sound sound ;
14- String identifier ;
15- Float fixedRange ;
13+ private Sound sound ;
14+ private String identifier ;
15+ private Float fixedRange ;
1616}
Original file line number Diff line number Diff line change 1212@ NoArgsConstructor
1313public class Trim {
1414
15- Integer materialType ;
16- TrimMaterial trimMaterial ;
17- Integer patternType ;
18- TrimPattern trimPattern ;
15+ private Integer materialType ;
16+ private TrimMaterial trimMaterial ;
17+ private Integer patternType ;
18+ private TrimPattern trimPattern ;
1919
2020 @ Data
2121 @ AllArgsConstructor
2222 @ NoArgsConstructor
2323 public static class TrimMaterial {
24- String assetName ;
25- int ingredient ;
26- float itemModelIndex ;
27- Map <Integer , String > overrides ;
28- ChatElement <?> description ;
24+ private String assetName ;
25+ private int ingredient ;
26+ private float itemModelIndex ;
27+ private Map <Integer , String > overrides ;
28+ private ChatElement <?> description ;
2929 }
3030
3131 @ Data
3232 @ AllArgsConstructor
3333 @ NoArgsConstructor
3434 public static class TrimPattern {
35- String assetName ;
36- int templateItem ;
37- ChatElement <?> description ;
38- boolean decal ;
35+ private String assetName ;
36+ private int templateItem ;
37+ private ChatElement <?> description ;
38+ private boolean decal ;
3939 }
4040
4141}
You can’t perform that action at this time.
0 commit comments