-
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.
- Loading branch information
1 parent
f065668
commit 95643e5
Showing
6 changed files
with
36 additions
and
25 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
### 6.0.0 | ||
### 6.0.1 | ||
|
||
- Updated to 1.21 | ||
- Re add Mekanism Support |
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
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
36 changes: 18 additions & 18 deletions
36
neo/src/main/java/com/unrealdinnerbone/jamd/neo/compact/MekenismOreCompact.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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
//package com.unrealdinnerbone.jamd.neo.compact; | ||
// | ||
//import com.unrealdinnerbone.jamd.OresCodec; | ||
//import com.unrealdinnerbone.jamd.api.IFeatureTypeCompact; | ||
//import mekanism.common.world.ResizableOreFeatureConfig; | ||
//import net.minecraft.resources.ResourceLocation; | ||
//import net.minecraft.world.level.levelgen.placement.PlacementModifier; | ||
// | ||
//import java.util.List; | ||
// | ||
//public class MekenismOreCompact implements IFeatureTypeCompact<ResizableOreFeatureConfig> { | ||
// | ||
// @Override | ||
// public OresCodec parse(ResizableOreFeatureConfig config, List<PlacementModifier> placementModifiers) { | ||
// return new OresCodec(config.size().getAsInt(), config.discardChanceOnAirExposure().getAsFloat(), placementModifiers, config.targetStates()); | ||
// } | ||
// | ||
//} | ||
package com.unrealdinnerbone.jamd.neo.compact; | ||
|
||
import com.unrealdinnerbone.jamd.OresCodec; | ||
import com.unrealdinnerbone.jamd.api.IFeatureTypeCompact; | ||
import mekanism.common.world.ResizableOreFeatureConfig; | ||
import net.minecraft.resources.ResourceLocation; | ||
import net.minecraft.world.level.levelgen.placement.PlacementModifier; | ||
|
||
import java.util.List; | ||
|
||
public class MekenismOreCompact implements IFeatureTypeCompact<ResizableOreFeatureConfig> { | ||
|
||
@Override | ||
public OresCodec parse(ResizableOreFeatureConfig config, List<PlacementModifier> placementModifiers) { | ||
return new OresCodec(config.size().getAsInt(), config.discardChanceOnAirExposure().getAsFloat(), placementModifiers, config.targetStates()); | ||
} | ||
|
||
} |