Skip to content

Commit 37a523d

Browse files
committed
Fixed vanilla cacti not being cancelled
1 parent 6a31040 commit 37a523d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
modName=DynamicTreesPlus
22
modId=dynamictreesplus
3-
modVersion=1.2.0-BETA3
3+
modVersion=1.2.0-BETA4
44
group=com.ferreusveritas.dynamictreesplus
55

66
mcVersion=1.20.1

src/main/java/com/ferreusveritas/dynamictreesplus/init/DTPRegistries.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ public static void registerSpeciesType(final TypeRegistryEvent<Species> event) {
9696
}
9797

9898
@SubscribeEvent
99-
public static void onFeatureCancellerRegistry(final com.ferreusveritas.dynamictrees.api.registry.RegistryEvent<FeatureCanceller> event) {
99+
public static void onFeatureCancellerRegistry(final RegistryEvent<FeatureCanceller> event) {
100100
event.getRegistry().registerAll(new CactusFeatureCanceller<>(DynamicTreesPlus.location("cactus"), CactusBlock.class));
101101
}
102102

103103
@SubscribeEvent
104-
public static void onMushroomShapeKitRegistry(final com.ferreusveritas.dynamictrees.api.registry.RegistryEvent<MushroomShapeKit> event) {
104+
public static void onMushroomShapeKitRegistry(final RegistryEvent<MushroomShapeKit> event) {
105105
MushroomShapeKits.register(event.getRegistry());
106106
}
107107

src/main/resources/trees/dynamictreesplus/world_gen/feature_cancellers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"__comment": "Cancel standard cactus features from the desert and badlands.",
4-
"select": { "tag": "#(minecraft:is_badlands)|(forge:is_desert)" },
4+
"select": { "OR": [{"tag": "#minecraft:is_badlands"},{"tag": "#forge:is_desert"}] },
55
"cancellers": {
66
"type": "dynamictreesplus:cactus",
77
"namespace": "minecraft"

0 commit comments

Comments
 (0)