good to set your priorities straight

This commit is contained in:
gnembon committed 2020-02-12 11:37:25 -04:00
1 parent 8f59cc5402
commit f12283aea4
5 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -5,11 +5,11 @@ org.gradle.jvmargs=-Xmx1G
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
# or better: https://modmuss50.me/fabric.html # or better: https://modmuss50.me/fabric.html
minecraft_version=1.15.2 minecraft_version=1.15.2
yarn_mappings=1.15.2+build.12 yarn_mappings=1.15.2+build.14
loader_version=0.7.8+build.184 loader_version=0.7.8+build.184
# Mod Properties # Mod Properties
mod_version = 1.3.9+v200206b mod_version = 1.3.10+v200212
maven_group = carpet maven_group = carpet
archives_base_name = fabric-carpet archives_base_name = fabric-carpet
+1 -1
View File
@@ -32,7 +32,7 @@ import static carpet.settings.RuleCategory.DISPENSER;
@SuppressWarnings("CanBeFinal") @SuppressWarnings("CanBeFinal")
public class CarpetSettings public class CarpetSettings
{ {
public static final String carpetVersion = "1.3.9+v200206b"; public static final String carpetVersion = "1.3.10+v200212";
public static final Logger LOG = LogManager.getLogger(); public static final Logger LOG = LogManager.getLogger();
public static boolean skipGenerationChecks = false; public static boolean skipGenerationChecks = false;
public static boolean impendingFillSkipUpdates = false; public static boolean impendingFillSkipUpdates = false;
@@ -35,7 +35,7 @@ import net.minecraft.world.gen.feature.ShipwreckFeatureConfig;
import net.minecraft.world.gen.feature.StructureFeature; import net.minecraft.world.gen.feature.StructureFeature;
import net.minecraft.world.gen.feature.VillageFeatureConfig; import net.minecraft.world.gen.feature.VillageFeatureConfig;
import net.minecraft.world.gen.foliage.BlobFoliagePlacer; import net.minecraft.world.gen.foliage.BlobFoliagePlacer;
import net.minecraft.world.gen.stateprovider.SimpleStateProvider; import net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@@ -213,8 +213,8 @@ public class FeatureGenerator
put("oak", simpleTree(DefaultBiomeFeatures.OAK_TREE_CONFIG)); put("oak", simpleTree(DefaultBiomeFeatures.OAK_TREE_CONFIG));
put("oak_beehive", simpleTree( put("oak_beehive", simpleTree(
(new BranchedTreeFeatureConfig.Builder( (new BranchedTreeFeatureConfig.Builder(
new SimpleStateProvider(Blocks.OAK_LOG.getDefaultState()), new SimpleBlockStateProvider(Blocks.OAK_LOG.getDefaultState()),
new SimpleStateProvider(Blocks.OAK_LEAVES.getDefaultState()), new SimpleBlockStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
new BlobFoliagePlacer(2, 0)) new BlobFoliagePlacer(2, 0))
).baseHeight(4).heightRandA(2).foliageHeight(3).noVines() ).baseHeight(4).heightRandA(2).foliageHeight(3).noVines()
.treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build() .treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build()
@@ -222,8 +222,8 @@ public class FeatureGenerator
put("oak_large", simplePlop(Feature.FANCY_TREE.configure(DefaultBiomeFeatures.FANCY_TREE_CONFIG))); put("oak_large", simplePlop(Feature.FANCY_TREE.configure(DefaultBiomeFeatures.FANCY_TREE_CONFIG)));
put("oak_large_beehive", simplePlop(Feature.FANCY_TREE.configure( put("oak_large_beehive", simplePlop(Feature.FANCY_TREE.configure(
(new BranchedTreeFeatureConfig.Builder( (new BranchedTreeFeatureConfig.Builder(
new SimpleStateProvider(Blocks.OAK_LOG.getDefaultState()), new SimpleBlockStateProvider(Blocks.OAK_LOG.getDefaultState()),
new SimpleStateProvider(Blocks.OAK_LEAVES.getDefaultState()), new SimpleBlockStateProvider(Blocks.OAK_LEAVES.getDefaultState()),
new BlobFoliagePlacer(0, 0)) new BlobFoliagePlacer(0, 0))
).treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build() ).treeDecorators(ImmutableList.of(new BeehiveTreeDecorator(1.0F))).build()
))); )));
@@ -288,8 +288,8 @@ public class OptimizedExplosion
for(int j = 0; j < i; ++j) { for(int j = 0; j < i; ++j) {
Pair<ItemStack, BlockPos> pair = (Pair)objectArrayList.get(j); Pair<ItemStack, BlockPos> pair = (Pair)objectArrayList.get(j);
ItemStack itemStack2 = pair.getLeft(); ItemStack itemStack2 = pair.getLeft();
if (ItemEntity.method_24017(itemStack2, itemStack)) { if (ItemEntity.canMerge(itemStack2, itemStack)) {
ItemStack itemStack3 = ItemEntity.method_24018(itemStack2, itemStack, 16); ItemStack itemStack3 = ItemEntity.merge(itemStack2, itemStack, 16);
objectArrayList.set(j, Pair.of(itemStack3, pair.getRight())); objectArrayList.set(j, Pair.of(itemStack3, pair.getRight()));
if (itemStack.isEmpty()) { if (itemStack.isEmpty()) {
return; return;
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"schemaVersion": 1, "schemaVersion": 1,
"id": "carpet", "id": "carpet",
"version": "1.3.9", "version": "1.3.10",
"name": "Carpet Mod in Fabric", "name": "Carpet Mod in Fabric",
"description": "Carpet made out of fabric", "description": "Carpet made out of fabric",