Skip to content

Commit 9a0b4ce

Browse files
committed
feat: add salmon size data
1 parent 30a5fb5 commit 9a0b4ce

File tree

8 files changed

+204
-6
lines changed

8 files changed

+204
-6
lines changed
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
/*
2+
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
3+
*
4+
* Copyright (c) SpongePowered <https://www.spongepowered.org>
5+
* Copyright (c) contributors
6+
*
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in
15+
* all copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
* THE SOFTWARE.
24+
*/
25+
package org.spongepowered.api.data;
26+
27+
/**
28+
* <!-- Copy to the register method of BlockStateDataProvider -->
29+
*/
30+
public final class BlockStateDataProvider {
31+
32+
private BlockStateDataProvider() {
33+
}
34+
35+
public static void register() {
36+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_1, BlockStateProperties.AGE_1);
37+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_15, BlockStateProperties.AGE_15);
38+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_2, BlockStateProperties.AGE_2);
39+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_25, BlockStateProperties.AGE_25);
40+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_3, BlockStateProperties.AGE_3);
41+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_4, BlockStateProperties.AGE_4);
42+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_5, BlockStateProperties.AGE_5);
43+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AGE_7, BlockStateProperties.AGE_7);
44+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ATTACHED, BlockStateProperties.ATTACHED);
45+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ATTACH_FACE, BlockStateProperties.ATTACH_FACE);
46+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.AXIS, BlockStateProperties.AXIS);
47+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BAMBOO_LEAVES, BlockStateProperties.BAMBOO_LEAVES);
48+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BED_PART, BlockStateProperties.BED_PART);
49+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BELL_ATTACHMENT, BlockStateProperties.BELL_ATTACHMENT);
50+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BERRIES, BlockStateProperties.BERRIES);
51+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BITES, BlockStateProperties.BITES);
52+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BLOOM, BlockStateProperties.BLOOM);
53+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.BOTTOM, BlockStateProperties.BOTTOM);
54+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CANDLES, BlockStateProperties.CANDLES);
55+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CAN_SUMMON, BlockStateProperties.CAN_SUMMON);
56+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHEST_TYPE, BlockStateProperties.CHEST_TYPE);
57+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_0_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_0_OCCUPIED);
58+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_1_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_1_OCCUPIED);
59+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_2_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_2_OCCUPIED);
60+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_3_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_3_OCCUPIED);
61+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_4_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_4_OCCUPIED);
62+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CHISELED_BOOKSHELF_SLOT_5_OCCUPIED, BlockStateProperties.CHISELED_BOOKSHELF_SLOT_5_OCCUPIED);
63+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CONDITIONAL, BlockStateProperties.CONDITIONAL);
64+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CRACKED, BlockStateProperties.CRACKED);
65+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CRAFTING, BlockStateProperties.CRAFTING);
66+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.CREAKING, BlockStateProperties.CREAKING);
67+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DELAY, BlockStateProperties.DELAY);
68+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DISARMED, BlockStateProperties.DISARMED);
69+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DISTANCE, BlockStateProperties.DISTANCE);
70+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOOR_HINGE, BlockStateProperties.DOOR_HINGE);
71+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOUBLE_BLOCK_HALF, BlockStateProperties.DOUBLE_BLOCK_HALF);
72+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DOWN, BlockStateProperties.DOWN);
73+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DRAG, BlockStateProperties.DRAG);
74+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DRIPSTONE_THICKNESS, BlockStateProperties.DRIPSTONE_THICKNESS);
75+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.DUSTED, BlockStateProperties.DUSTED);
76+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST, BlockStateProperties.EAST);
77+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST_REDSTONE, BlockStateProperties.EAST_REDSTONE);
78+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EAST_WALL, BlockStateProperties.EAST_WALL);
79+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EGGS, BlockStateProperties.EGGS);
80+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ENABLED, BlockStateProperties.ENABLED);
81+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EXTENDED, BlockStateProperties.EXTENDED);
82+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.EYE, BlockStateProperties.EYE);
83+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FACING, BlockStateProperties.FACING);
84+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FACING_HOPPER, BlockStateProperties.FACING_HOPPER);
85+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FALLING, BlockStateProperties.FALLING);
86+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.FLOWER_AMOUNT, BlockStateProperties.FLOWER_AMOUNT);
87+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HALF, BlockStateProperties.HALF);
88+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HANGING, BlockStateProperties.HANGING);
89+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOOK, BlockStateProperties.HAS_BOOK);
90+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_0, BlockStateProperties.HAS_BOTTLE_0);
91+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_1, BlockStateProperties.HAS_BOTTLE_1);
92+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_BOTTLE_2, BlockStateProperties.HAS_BOTTLE_2);
93+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HAS_RECORD, BlockStateProperties.HAS_RECORD);
94+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HATCH, BlockStateProperties.HATCH);
95+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HORIZONTAL_AXIS, BlockStateProperties.HORIZONTAL_AXIS);
96+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.HORIZONTAL_FACING, BlockStateProperties.HORIZONTAL_FACING);
97+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.INVERTED, BlockStateProperties.INVERTED);
98+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.IN_WALL, BlockStateProperties.IN_WALL);
99+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LAYERS, BlockStateProperties.LAYERS);
100+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL, BlockStateProperties.LEVEL);
101+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_CAULDRON, BlockStateProperties.LEVEL_CAULDRON);
102+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_COMPOSTER, BlockStateProperties.LEVEL_COMPOSTER);
103+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_FLOWING, BlockStateProperties.LEVEL_FLOWING);
104+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LEVEL_HONEY, BlockStateProperties.LEVEL_HONEY);
105+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LIT, BlockStateProperties.LIT);
106+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.LOCKED, BlockStateProperties.LOCKED);
107+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.MODE_COMPARATOR, BlockStateProperties.MODE_COMPARATOR);
108+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.MOISTURE, BlockStateProperties.MOISTURE);
109+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH, BlockStateProperties.NORTH);
110+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH_REDSTONE, BlockStateProperties.NORTH_REDSTONE);
111+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NORTH_WALL, BlockStateProperties.NORTH_WALL);
112+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NOTE, BlockStateProperties.NOTE);
113+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.NOTEBLOCK_INSTRUMENT, BlockStateProperties.NOTEBLOCK_INSTRUMENT);
114+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OCCUPIED, BlockStateProperties.OCCUPIED);
115+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OMINOUS, BlockStateProperties.OMINOUS);
116+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.OPEN, BlockStateProperties.OPEN);
117+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ORIENTATION, BlockStateProperties.ORIENTATION);
118+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PERSISTENT, BlockStateProperties.PERSISTENT);
119+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PICKLES, BlockStateProperties.PICKLES);
120+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.PISTON_TYPE, BlockStateProperties.PISTON_TYPE);
121+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.POWER, BlockStateProperties.POWER);
122+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.POWERED, BlockStateProperties.POWERED);
123+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RAIL_SHAPE, BlockStateProperties.RAIL_SHAPE);
124+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RAIL_SHAPE_STRAIGHT, BlockStateProperties.RAIL_SHAPE_STRAIGHT);
125+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.RESPAWN_ANCHOR_CHARGES, BlockStateProperties.RESPAWN_ANCHOR_CHARGES);
126+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.ROTATION_16, BlockStateProperties.ROTATION_16);
127+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SCULK_SENSOR_PHASE, BlockStateProperties.SCULK_SENSOR_PHASE);
128+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SHORT, BlockStateProperties.SHORT);
129+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SHRIEKING, BlockStateProperties.SHRIEKING);
130+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SIGNAL_FIRE, BlockStateProperties.SIGNAL_FIRE);
131+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SLAB_TYPE, BlockStateProperties.SLAB_TYPE);
132+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SNOWY, BlockStateProperties.SNOWY);
133+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH, BlockStateProperties.SOUTH);
134+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH_REDSTONE, BlockStateProperties.SOUTH_REDSTONE);
135+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.SOUTH_WALL, BlockStateProperties.SOUTH_WALL);
136+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STABILITY_DISTANCE, BlockStateProperties.STABILITY_DISTANCE);
137+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STAGE, BlockStateProperties.STAGE);
138+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STAIRS_SHAPE, BlockStateProperties.STAIRS_SHAPE);
139+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.STRUCTUREBLOCK_MODE, BlockStateProperties.STRUCTUREBLOCK_MODE);
140+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TILT, BlockStateProperties.TILT);
141+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TIP, BlockStateProperties.TIP);
142+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TRIAL_SPAWNER_STATE, BlockStateProperties.TRIAL_SPAWNER_STATE);
143+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.TRIGGERED, BlockStateProperties.TRIGGERED);
144+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.UNSTABLE, BlockStateProperties.UNSTABLE);
145+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.UP, BlockStateProperties.UP);
146+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.VAULT_STATE, BlockStateProperties.VAULT_STATE);
147+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.VERTICAL_DIRECTION, BlockStateProperties.VERTICAL_DIRECTION);
148+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WATERLOGGED, BlockStateProperties.WATERLOGGED);
149+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST, BlockStateProperties.WEST);
150+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST_REDSTONE, BlockStateProperties.WEST_REDSTONE);
151+
BlockStateDataProvider.registerProperty(registrator, BlockStateKeys.WEST_WALL, BlockStateProperties.WEST_WALL);
152+
}
153+
}

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
import org.spongepowered.api.data.type.PushReaction;
8484
import org.spongepowered.api.data.type.RabbitType;
8585
import org.spongepowered.api.data.type.RailDirection;
86+
import org.spongepowered.api.data.type.SalmonSize;
8687
import org.spongepowered.api.data.type.SculkSensorState;
8788
import org.spongepowered.api.data.type.SkinPart;
8889
import org.spongepowered.api.data.type.SlabPortion;
@@ -161,6 +162,7 @@
161162
import org.spongepowered.api.entity.living.animal.horse.llama.Llama;
162163
import org.spongepowered.api.entity.living.animal.horse.llama.TraderLlama;
163164
import org.spongepowered.api.entity.living.aquatic.Dolphin;
165+
import org.spongepowered.api.entity.living.aquatic.fish.school.Salmon;
164166
import org.spongepowered.api.entity.living.aquatic.fish.school.TropicalFish;
165167
import org.spongepowered.api.entity.living.golem.IronGolem;
166168
import org.spongepowered.api.entity.living.golem.Shulker;
@@ -2827,6 +2829,11 @@ public final class Keys {
28272829
*/
28282830
public static final Key<Value<Ticks>> ROARING_TIME = Keys.key(ResourceKey.sponge("roaring_time"), Ticks.class);
28292831

2832+
/**
2833+
* The {@link SalmonSize} of a {@link Salmon} entity.
2834+
*/
2835+
public static final Key<Value<SalmonSize>> SALMON_SIZE = Keys.key(ResourceKey.sponge("salmon_size"), SalmonSize.class);
2836+
28302837
/**
28312838
* The current saturation of a {@link Player}.
28322839
*
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.spongepowered.api.data.type;
2+
3+
import org.spongepowered.api.registry.DefaultedRegistryValue;
4+
import org.spongepowered.api.util.annotation.CatalogedBy;
5+
6+
@CatalogedBy(SalmonSizes.class)
7+
public interface SalmonSize extends DefaultedRegistryValue, StringRepresentable {
8+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.spongepowered.api.data.type;
2+
3+
import org.spongepowered.api.ResourceKey;
4+
import org.spongepowered.api.Sponge;
5+
import org.spongepowered.api.registry.DefaultedRegistryReference;
6+
import org.spongepowered.api.registry.RegistryKey;
7+
import org.spongepowered.api.registry.RegistryTypes;
8+
9+
public final class SalmonSizes {
10+
11+
public static final DefaultedRegistryReference<SalmonSize> LARGE = SalmonSizes.key(ResourceKey.sponge("large"));
12+
13+
public static final DefaultedRegistryReference<SalmonSize> MEDIUM = SalmonSizes.key(ResourceKey.sponge("medium"));
14+
15+
public static final DefaultedRegistryReference<SalmonSize> SMALL = SalmonSizes.key(ResourceKey.sponge("small"));
16+
17+
private static DefaultedRegistryReference<SalmonSize> key(ResourceKey key) {
18+
return RegistryKey.of(RegistryTypes.SALMON_SIZE, key).asDefaultedReference(Sponge::game);
19+
}
20+
}

src/main/java/org/spongepowered/api/entity/living/aquatic/fish/school/Salmon.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,14 @@
2424
*/
2525
package org.spongepowered.api.entity.living.aquatic.fish.school;
2626

27+
import org.spongepowered.api.data.Keys;
28+
import org.spongepowered.api.data.type.SalmonSize;
29+
import org.spongepowered.api.data.value.Value;
30+
2731
public interface Salmon extends SchoolingFish {
32+
33+
default Value.Mutable<SalmonSize> size() {
34+
return this.requireValue(Keys.SALMON_SIZE).asMutable();
35+
}
36+
2837
}

src/main/java/org/spongepowered/api/registry/RegistryTypes.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282
import org.spongepowered.api.data.type.RabbitType;
8383
import org.spongepowered.api.data.type.RaidStatus;
8484
import org.spongepowered.api.data.type.RailDirection;
85+
import org.spongepowered.api.data.type.SalmonSize;
86+
import org.spongepowered.api.data.type.SalmonSizes;
8587
import org.spongepowered.api.data.type.SculkSensorState;
8688
import org.spongepowered.api.data.type.SkinPart;
8789
import org.spongepowered.api.data.type.SlabPortion;
@@ -469,6 +471,8 @@ public final class RegistryTypes {
469471

470472
public static final DefaultedRegistryType<Rotation> ROTATION = RegistryTypes.spongeKeyInGame("rotation");
471473

474+
public static final DefaultedRegistryType<SalmonSize> SALMON_SIZE = RegistryTypes.spongeKeyInGame("salmon_size");
475+
472476
public static final DefaultedRegistryType<SculkSensorState> SCULK_SENSOR_STATE = RegistryTypes.spongeKeyInGame("sculk_sensor_state");
473477

474478
public static final DefaultedRegistryType<SelectorSortAlgorithm> SELECTOR_SORT_ALGORITHM = RegistryTypes.spongeKeyInGame("selector_sort_algorithm");

0 commit comments

Comments
 (0)