-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recipe Change, add way to ignore placed features
- Loading branch information
1 parent
0cad941
commit 6140f54
Showing
8 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,5 @@ fabric/run_client/ | |
logs/ | ||
|
||
neo/runs/ | ||
|
||
common/src/generated/resources/.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
### 4.2.0 | ||
### 4.2.2 | ||
|
||
- Rewrite Features to support complex features | ||
- Add Place Feature blacklist tag | ||
- Changed the nether portal recipe to diamond pick instead of nettherite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:netherite_pickaxe" | ||
"minecraft:diamond_pickaxe" | ||
] | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
fabric/src/main/java/com/unrealdinnerbone/jamd/data/PlaceTagProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.unrealdinnerbone.jamd.data; | ||
|
||
import com.unrealdinnerbone.jamd.JAMDRegistry; | ||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; | ||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider; | ||
import net.minecraft.core.HolderLookup; | ||
import net.minecraft.core.registries.Registries; | ||
import net.minecraft.data.worldgen.features.OreFeatures; | ||
import net.minecraft.data.worldgen.placement.OrePlacements; | ||
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature; | ||
import net.minecraft.world.level.levelgen.placement.PlacedFeature; | ||
|
||
import java.util.concurrent.CompletableFuture; | ||
|
||
public class PlaceTagProvider extends FabricTagProvider<PlacedFeature> { | ||
public PlaceTagProvider(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture) { | ||
super(output, Registries.PLACED_FEATURE, registriesFuture); | ||
} | ||
|
||
@Override | ||
protected void addTags(HolderLookup.Provider arg) { | ||
// getOrCreateTagBuilder(JAMDRegistry.OVERWORLD.getIgnoredPlaceFeatures()) | ||
// .add(OrePlacements.ORE_CLAY); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Project | ||
mod_version=4.2.0 | ||
mod_version=4.2.2 | ||
maven_group=com.unrealdinnerbone | ||
curse_id=422981 | ||
mod_name=JAMD | ||
|