mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-23 15:48:34 +01:00
Compare commits
No commits in common. "75fb3398c6f74dc30c847131ef5febbd2761e95e" and "e048a2a30be53e8635a1e70542a88fd4258cb65c" have entirely different histories.
75fb3398c6
...
e048a2a30b
9 changed files with 2 additions and 82 deletions
|
@ -3,10 +3,6 @@
|
||||||
* Add the stairs, slabs and walls to the appropriate block/item tags
|
* Add the stairs, slabs and walls to the appropriate block/item tags
|
||||||
* Change the sound type of the casing blocks to match material used in the recipe
|
* Change the sound type of the casing blocks to match material used in the recipe
|
||||||
* Change the sound type of some machines to use the metal sound
|
* Change the sound type of some machines to use the metal sound
|
||||||
* Change the sound type of crystal blocks / Clusters
|
|
||||||
* Allow seeds and crops to be composted
|
|
||||||
* Add the tiny coal and charcoal to the furnace fuel datamap
|
|
||||||
* Fix one of the Engineer House blocks being the wrong block
|
|
||||||
|
|
||||||
# 1.3.7+mc1.21.1
|
# 1.3.7+mc1.21.1
|
||||||
* Added recipes for AA crops in the IE cloche.
|
* Added recipes for AA crops in the IE cloche.
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
// 1.21.1 2024-11-02T14:59:13.7640446 Data Maps
|
|
||||||
9f93ec7e2a943d73ede3af027951495c9939bafc data/neoforge/data_maps/item/compostables.json
|
|
||||||
3141fd94b43dbb67fc8814b371114c571bc07b58 data/neoforge/data_maps/item/furnace_fuels.json
|
|
|
@ -1,22 +0,0 @@
|
||||||
{
|
|
||||||
"values": {
|
|
||||||
"actuallyadditions:canola": {
|
|
||||||
"chance": 0.65
|
|
||||||
},
|
|
||||||
"actuallyadditions:canola_seeds": {
|
|
||||||
"chance": 0.3
|
|
||||||
},
|
|
||||||
"actuallyadditions:coffee_beans": {
|
|
||||||
"chance": 0.65
|
|
||||||
},
|
|
||||||
"actuallyadditions:flax_seeds": {
|
|
||||||
"chance": 0.65
|
|
||||||
},
|
|
||||||
"actuallyadditions:rice": {
|
|
||||||
"chance": 0.65
|
|
||||||
},
|
|
||||||
"actuallyadditions:rice_seeds": {
|
|
||||||
"chance": 0.3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
"values": {
|
|
||||||
"actuallyadditions:tiny_charcoal": {
|
|
||||||
"burn_time": 200
|
|
||||||
},
|
|
||||||
"actuallyadditions:tiny_coal": {
|
|
||||||
"burn_time": 200
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -66,8 +66,6 @@ public class ActuallyAdditionsData {
|
||||||
generator.addProvider(true, new MiningLensGenerator(packOutput, lookupProvider));
|
generator.addProvider(true, new MiningLensGenerator(packOutput, lookupProvider));
|
||||||
generator.addProvider(true, new CoffeeIngredientGenerator(packOutput, lookupProvider));
|
generator.addProvider(true, new CoffeeIngredientGenerator(packOutput, lookupProvider));
|
||||||
|
|
||||||
generator.addProvider(true, new DataMapGenerator(packOutput, lookupProvider));
|
|
||||||
|
|
||||||
generator.addProvider(true, new SoundsGenerator(packOutput, helper));
|
generator.addProvider(true, new SoundsGenerator(packOutput, helper));
|
||||||
|
|
||||||
if (ModList.get().isLoaded("patchouli"))
|
if (ModList.get().isLoaded("patchouli"))
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
package de.ellpeck.actuallyadditions.data;
|
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.mod.items.ActuallyItems;
|
|
||||||
import net.minecraft.core.HolderLookup.Provider;
|
|
||||||
import net.minecraft.data.PackOutput;
|
|
||||||
import net.neoforged.neoforge.common.data.DataMapProvider;
|
|
||||||
import net.neoforged.neoforge.registries.datamaps.builtin.Compostable;
|
|
||||||
import net.neoforged.neoforge.registries.datamaps.builtin.FurnaceFuel;
|
|
||||||
import net.neoforged.neoforge.registries.datamaps.builtin.NeoForgeDataMaps;
|
|
||||||
|
|
||||||
import java.util.concurrent.CompletableFuture;
|
|
||||||
|
|
||||||
public class DataMapGenerator extends DataMapProvider {
|
|
||||||
public DataMapGenerator(PackOutput packOutput, CompletableFuture<Provider> lookupProvider) {
|
|
||||||
super(packOutput, lookupProvider);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void gather() {
|
|
||||||
final float SEEDS = 0.3F;
|
|
||||||
final float CROPS = 0.65F;
|
|
||||||
|
|
||||||
final var compostables = builder(NeoForgeDataMaps.COMPOSTABLES);
|
|
||||||
compostables.add(ActuallyItems.RICE_SEEDS, new Compostable(SEEDS), false);
|
|
||||||
compostables.add(ActuallyItems.COFFEE_BEANS, new Compostable(SEEDS), false);
|
|
||||||
compostables.add(ActuallyItems.CANOLA_SEEDS, new Compostable(SEEDS), false);
|
|
||||||
compostables.add(ActuallyItems.FLAX_SEEDS, new Compostable(SEEDS), false);
|
|
||||||
|
|
||||||
compostables.add(ActuallyItems.RICE, new Compostable(CROPS), false);
|
|
||||||
compostables.add(ActuallyItems.COFFEE_BEANS, new Compostable(CROPS), false);
|
|
||||||
compostables.add(ActuallyItems.CANOLA, new Compostable(CROPS), false);
|
|
||||||
compostables.add(ActuallyItems.FLAX_SEEDS, new Compostable(CROPS), false);
|
|
||||||
|
|
||||||
final var furnaceFuels = builder(NeoForgeDataMaps.FURNACE_FUELS);
|
|
||||||
furnaceFuels.add(ActuallyItems.TINY_COAL, new FurnaceFuel(200), false);
|
|
||||||
furnaceFuels.add(ActuallyItems.TINY_CHARCOAL, new FurnaceFuel(200), false);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -11,13 +11,12 @@
|
||||||
package de.ellpeck.actuallyadditions.mod.blocks;
|
package de.ellpeck.actuallyadditions.mod.blocks;
|
||||||
|
|
||||||
import net.minecraft.world.item.ItemStack;
|
import net.minecraft.world.item.ItemStack;
|
||||||
import net.minecraft.world.level.block.SoundType;
|
|
||||||
|
|
||||||
public class BlockCrystal extends ActuallyBlock {
|
public class BlockCrystal extends ActuallyBlock {
|
||||||
private final boolean isEmpowered;
|
private final boolean isEmpowered;
|
||||||
|
|
||||||
public BlockCrystal(boolean isEmpowered) {
|
public BlockCrystal(boolean isEmpowered) {
|
||||||
super(ActuallyBlocks.defaultPickProps().sound(SoundType.AMETHYST));
|
super(ActuallyBlocks.defaultPickProps());
|
||||||
this.isEmpowered = isEmpowered;
|
this.isEmpowered = isEmpowered;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class CrystalClusterBlock extends FullyDirectionalBlock {
|
||||||
super(Block.Properties.of()
|
super(Block.Properties.of()
|
||||||
.instrument(NoteBlockInstrument.HAT)
|
.instrument(NoteBlockInstrument.HAT)
|
||||||
.lightLevel((e) -> 7)
|
.lightLevel((e) -> 7)
|
||||||
.sound(SoundType.AMETHYST_CLUSTER)
|
.sound(SoundType.GLASS)
|
||||||
.noOcclusion()
|
.noOcclusion()
|
||||||
.strength(0.25f, 1.0f));
|
.strength(0.25f, 1.0f));
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue