Skip to content

Commit af31437

Browse files
committed
Release 3.0
1 parent 51b32f7 commit af31437

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

README.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,30 @@ want to suggest features, join our [discord](https://discord.gg/C8KKgbA8jy)!
4545
| Mining Item Usage | mining_item_usage | Turn on/off the ability to start mining/break blocks whilst using a item like in 1.7. |
4646
| Hide Attached Fishing Rod Bobber | hide_rod_bobber | Turn on/off the rendering of the fishing rod bobber when attached to you in first-person. |
4747
| Pick Inflation | pick_inflation | Turn on/off the 0.1 pick (hitbox) inflation when attacking an entity. |
48-
| Client-sided Entity Movement | clientside_entities | Turn on/off the entity movement calculations from the client. (In 1.7, entity movement was handled by the client) |
48+
| Client-Sided Entity Movement | clientside_entities | Turn on/off the entity movement calculations from the client. (In 1.7, entity movement was handled by the client) |
4949

5050
## Payloads
5151

5252
Allows the server to enable/disable server-only features that enhance gameplay.
5353

54-
| Identifier | Direction | Field Name | Field Type | Description |
55-
|------------------------|-----------|:--------------------|:----------------|:---------------------------------------------------------------------------------------------|
56-
| animatium:info | Server | Version | Double | Current release version of the mod. |
57-
| | | Development Version | String? | Current dev build commit of the mod. Only provided when mod is a development build. |
58-
| animatium:request_info | Client | | | Sends the animatium:info payload back containing information about the mod version. |
59-
| animatium:set_features | Client | Features List | List\<Feature\> | List of features the client should use currently, maps to Feature above or skips if unknown. |
54+
| Identifier | Direction | Field Name | Field Type | Description |
55+
|------------------------|-----------|:----------------------|:----------------------|:---------------------------------------------------------------------------------------------|
56+
| animatium:info | Server | Version | Double | Current release version of the mod. |
57+
| | | Development Version | Optional<String> | Current dev build commit of the mod. Only provided when mod is a development build. |
58+
| | | Config Category Count | Var Int | |
59+
| | | Config Entry* | Config Category (x)^* | |
60+
| animatium:set_features | Client | Features List | List\<Feature\> | List of features the client should use currently, maps to Feature above or skips if unknown. |
61+
62+
### Config Category
63+
64+
| Identifier | Field Name | Field Type | Description |
65+
|------------|------------|-------------------|-----------------------------------|
66+
| Entries | Entry | Config Entry (x)* | Each entry of the config category |
67+
68+
### Config Entry
69+
70+
| Identifier | Field Name | Field Type |
71+
|------------|-----------------|------------------------------------------------------------|
72+
| Name | String | The id of the config field |
73+
| Type | Enum<EntryType> | The type used to determind the type of the value provided. |
74+
| Value | T | Value based on type. (Boolean, Float, Enum) |

TODO.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
- Random model offset? (i alr forgor what this is)
44
- Potion model offset? // TODO: mixces what was this again rahhh
55

6-
3.0 TODO:
7-
8-
- check cape swing setting not working
9-
106
3.1 TODO:
117

128
- fix 1.8 held item arm logic thingy whatever idk (heldItemArmLogic)

src/main/java/org/visuals/legacy/animatium/util/config/EntryBundle.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ public EntryBundle group(final Group group) {
9393
}
9494

9595
public Iterable<Entry<?>> entries() {
96-
return this.entries;
96+
final ArrayList<Entry<?>> entries = new ArrayList<>(this.entries);
97+
for (final Group group : this.groups) {
98+
// TODO: Find a better way to do this without losing information
99+
entries.addAll(group.entries);
100+
}
101+
102+
return entries;
97103
}
98104

99105
public enum Type {

0 commit comments

Comments
 (0)