mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
more progress
This commit is contained in:
@@ -1,186 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
|
||||
Date: Tue, 17 Nov 2020 03:23:48 -0800
|
||||
Subject: [PATCH] Apply display names from item forms of entities to entities
|
||||
and vice versa
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/decoration/EntityArmorStand.java b/src/main/java/net/minecraft/world/entity/decoration/EntityArmorStand.java
|
||||
index 89d3734489b65245e815376edf4e2d9baea1563a..43dc0925887e2e9e86445cccff57be7994ca0d58 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/decoration/EntityArmorStand.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/decoration/EntityArmorStand.java
|
||||
@@ -588,7 +588,13 @@ public class EntityArmorStand extends EntityLiving {
|
||||
}
|
||||
|
||||
private void f(DamageSource damagesource) {
|
||||
- drops.add(org.bukkit.craftbukkit.inventory.CraftItemStack.asBukkitCopy(new ItemStack(Items.ARMOR_STAND))); // CraftBukkit - add to drops
|
||||
+ // Purpur start
|
||||
+ final ItemStack armorStand = new ItemStack(Items.ARMOR_STAND);
|
||||
+ if (this.world.purpurConfig.persistentDroppableEntityDisplayNames && this.hasCustomName()) {
|
||||
+ armorStand.setName(this.getCustomName());
|
||||
+ }
|
||||
+ drops.add(org.bukkit.craftbukkit.inventory.CraftItemStack.asBukkitCopy(armorStand)); // CraftBukkit - add to drops
|
||||
+ // Purpur end
|
||||
this.g(damagesource);
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/decoration/EntityItemFrame.java b/src/main/java/net/minecraft/world/entity/decoration/EntityItemFrame.java
|
||||
index 43152a6c70c9433d627a58051101530ddd693307..eb07db442c5a0da73249f4a02be7dacae0ff0e45 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/decoration/EntityItemFrame.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/decoration/EntityItemFrame.java
|
||||
@@ -229,7 +229,13 @@ public class EntityItemFrame extends EntityHanging {
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
- this.a((IMaterial) Items.ITEM_FRAME);
|
||||
+ // Purpur start
|
||||
+ final ItemStack itemFrame = new ItemStack(Items.ITEM_FRAME);
|
||||
+ if (this.world.purpurConfig.persistentDroppableEntityDisplayNames && this.hasCustomName()) {
|
||||
+ itemFrame.setName(this.getCustomName());
|
||||
+ }
|
||||
+ this.dropItem(itemFrame);
|
||||
+ // Purpur end
|
||||
}
|
||||
|
||||
if (!itemstack.isEmpty()) {
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/decoration/EntityPainting.java b/src/main/java/net/minecraft/world/entity/decoration/EntityPainting.java
|
||||
index 3de0f21648ca60bdfcbc078bca896d51bf84e207..7517e861301e0c329c70aa6f2bf5aa40114b6589 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/decoration/EntityPainting.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/decoration/EntityPainting.java
|
||||
@@ -108,7 +108,13 @@ public class EntityPainting extends EntityHanging {
|
||||
}
|
||||
}
|
||||
|
||||
- this.a((IMaterial) Items.PAINTING);
|
||||
+ // Purpur start
|
||||
+ final ItemStack painting = new ItemStack(Items.PAINTING);
|
||||
+ if (this.world.purpurConfig.persistentDroppableEntityDisplayNames && this.hasCustomName()) {
|
||||
+ painting.setName(this.getCustomName());
|
||||
+ }
|
||||
+ this.dropItem(painting);
|
||||
+ // Purpur end
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/vehicle/EntityBoat.java b/src/main/java/net/minecraft/world/entity/vehicle/EntityBoat.java
|
||||
index e5cda8c040c93639211dacbf5b0c7cd6a9df9e6d..9cd1a2a2a8db1d8daf7c712d6bd03fad1b048485 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/vehicle/EntityBoat.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/vehicle/EntityBoat.java
|
||||
@@ -201,7 +201,13 @@ public class EntityBoat extends Entity {
|
||||
}
|
||||
// CraftBukkit end
|
||||
if (!flag && this.world.getGameRules().getBoolean(GameRules.DO_ENTITY_DROPS)) {
|
||||
- this.a((IMaterial) this.g());
|
||||
+ // Purpur start
|
||||
+ final ItemStack boat = new ItemStack(this.getBoatItem());
|
||||
+ if (this.world.purpurConfig.persistentDroppableEntityDisplayNames && this.hasCustomName()) {
|
||||
+ boat.setName(this.getCustomName());
|
||||
+ }
|
||||
+ this.dropItem(boat);
|
||||
+ // Purpur end
|
||||
}
|
||||
|
||||
this.die();
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemArmorStand.java b/src/main/java/net/minecraft/world/item/ItemArmorStand.java
|
||||
index cd46df5485ebfd597ea72360a27872d46174ee19..245d3fe09feb9dc27b097642d40664a9f2377581 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemArmorStand.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemArmorStand.java
|
||||
@@ -63,6 +63,14 @@ public class ItemArmorStand extends Item {
|
||||
return EnumInteractionResult.FAIL;
|
||||
}
|
||||
// CraftBukkit end
|
||||
+ // Purpur start
|
||||
+ if (itemactioncontext.getWorld().purpurConfig.persistentDroppableEntityDisplayNames && itemactioncontext.getItemStack().hasName()) {
|
||||
+ entityarmorstand.setCustomName(itemactioncontext.getItemStack().getName());
|
||||
+ if (itemactioncontext.getWorld().purpurConfig.armorstandSetNameVisible) {
|
||||
+ entityarmorstand.setCustomNameVisible(true);
|
||||
+ }
|
||||
+ }
|
||||
+ // Purpur end
|
||||
worldserver.addAllEntities(entityarmorstand); // Paper - moved down
|
||||
world.playSound((EntityHuman) null, entityarmorstand.locX(), entityarmorstand.locY(), entityarmorstand.locZ(), SoundEffects.ENTITY_ARMOR_STAND_PLACE, SoundCategory.BLOCKS, 0.75F, 0.8F);
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemBoat.java b/src/main/java/net/minecraft/world/item/ItemBoat.java
|
||||
index 1d812b3e27f87213afc3e441eb20ca984458ce2a..636a8bc76d436fc770b4e05a93f1991210b64230 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemBoat.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemBoat.java
|
||||
@@ -65,6 +65,11 @@ public class ItemBoat extends Item {
|
||||
|
||||
entityboat.setType(this.b);
|
||||
entityboat.yaw = entityhuman.yaw;
|
||||
+ // Purpur start
|
||||
+ if (world.purpurConfig.persistentDroppableEntityDisplayNames && itemstack.hasName()) {
|
||||
+ entityboat.setCustomName(itemstack.getName());
|
||||
+ }
|
||||
+ // Purpur end
|
||||
if (!world.getCubes(entityboat, entityboat.getBoundingBox().g(-0.1D))) {
|
||||
return InteractionResultWrapper.fail(itemstack);
|
||||
} else {
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemHanging.java b/src/main/java/net/minecraft/world/item/ItemHanging.java
|
||||
index bbd3bb2d12e500d15485598783d39b0cb63a6d83..8e4c3304779cfccf7d45d4843f9c15bffce8ba07 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemHanging.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemHanging.java
|
||||
@@ -39,7 +39,7 @@ public class ItemHanging extends Item {
|
||||
return EnumInteractionResult.FAIL;
|
||||
} else {
|
||||
World world = itemactioncontext.getWorld();
|
||||
- Object object;
|
||||
+ Entity object; // Purpur
|
||||
|
||||
if (this.a == EntityTypes.PAINTING) {
|
||||
object = new EntityPainting(world, blockposition1, enumdirection);
|
||||
@@ -55,6 +55,11 @@ public class ItemHanging extends Item {
|
||||
|
||||
if (nbttagcompound != null) {
|
||||
EntityTypes.a(world, entityhuman, (Entity) object, nbttagcompound);
|
||||
+ // Purpur start
|
||||
+ if (itemactioncontext.getWorld().purpurConfig.persistentDroppableEntityDisplayNames && itemactioncontext.getItemStack().hasName()) {
|
||||
+ object.setCustomName(itemactioncontext.getItemStack().getName());
|
||||
+ }
|
||||
+ // Purpur end
|
||||
}
|
||||
|
||||
if (((EntityHanging) object).survives()) {
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemStack.java b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
index 2aa761656ce75f78732c502fd4ce65034b6c2919..a4c41caae425e054db3f40a9abc41f45ccd20730 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemStack.java
|
||||
@@ -788,6 +788,7 @@ public final class ItemStack {
|
||||
return this.getItem().h(this);
|
||||
}
|
||||
|
||||
+ public ItemStack setName(@Nullable IChatBaseComponent component) { return this.a(component); } // Purpur - OBFHELPER
|
||||
public ItemStack a(@Nullable IChatBaseComponent ichatbasecomponent) {
|
||||
NBTTagCompound nbttagcompound = this.a("display");
|
||||
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index bd37234624a720c1077aabf0123de61a0d4e05cb..b650293ff3315760e29307113e29fb2731af472b 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -83,8 +83,10 @@ public class PurpurWorldConfig {
|
||||
return PurpurConfig.config.getString("world-settings." + worldName + "." + path, PurpurConfig.config.getString("world-settings.default." + path));
|
||||
}
|
||||
|
||||
+ public boolean armorstandSetNameVisible = false;
|
||||
public float armorstandStepHeight = 0.0F;
|
||||
private void armorstandSettings() {
|
||||
+ armorstandSetNameVisible = getBoolean("gameplay-mechanics.armorstand.set-name-visible-when-placing-with-custom-name", armorstandSetNameVisible);
|
||||
armorstandStepHeight = (float) getDouble("gameplay-mechanics.armorstand.step-height", armorstandStepHeight);
|
||||
}
|
||||
|
||||
@@ -261,6 +263,7 @@ public class PurpurWorldConfig {
|
||||
public boolean entitiesCanUsePortals = true;
|
||||
public boolean milkCuresBadOmen = true;
|
||||
public boolean persistentTileEntityDisplayNames = false;
|
||||
+ public boolean persistentDroppableEntityDisplayNames = false;
|
||||
public double tridentLoyaltyVoidReturnHeight = 0.0D;
|
||||
public double voidDamageHeight = -64.0D;
|
||||
public double voidDamageDealt = 4.0D;
|
||||
@@ -274,6 +277,7 @@ public class PurpurWorldConfig {
|
||||
entitiesCanUsePortals = getBoolean("gameplay-mechanics.entities-can-use-portals", entitiesCanUsePortals);
|
||||
milkCuresBadOmen = getBoolean("gameplay-mechanics.milk-cures-bad-omen", milkCuresBadOmen);
|
||||
persistentTileEntityDisplayNames = getBoolean("gameplay-mechanics.persistent-tileentity-display-names-and-lore", persistentTileEntityDisplayNames);
|
||||
+ persistentDroppableEntityDisplayNames = getBoolean("gameplay-mechanics.persistent-droppable-entity-display-names", persistentDroppableEntityDisplayNames);
|
||||
tridentLoyaltyVoidReturnHeight = getDouble("gameplay-mechanics.trident-loyalty-void-return-height", tridentLoyaltyVoidReturnHeight);
|
||||
voidDamageHeight = getDouble("gameplay-mechanics.void-damage-height", voidDamageHeight);
|
||||
voidDamageDealt = getDouble("gameplay-mechanics.void-damage-dealt", voidDamageDealt);
|
||||
@@ -1,46 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
|
||||
Date: Tue, 17 Nov 2020 13:12:09 -0800
|
||||
Subject: [PATCH] Set name visible when using a Name Tag on an Armor Stand
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/item/ItemNameTag.java b/src/main/java/net/minecraft/world/item/ItemNameTag.java
|
||||
index b9b2b27e534ba87a1aae3c521f393a066a18a199..4f4e9ebb9af4970fe920a540d40dbc56682efd57 100644
|
||||
--- a/src/main/java/net/minecraft/world/item/ItemNameTag.java
|
||||
+++ b/src/main/java/net/minecraft/world/item/ItemNameTag.java
|
||||
@@ -5,6 +5,7 @@ import net.minecraft.world.EnumHand;
|
||||
import net.minecraft.world.EnumInteractionResult;
|
||||
import net.minecraft.world.entity.EntityInsentient;
|
||||
import net.minecraft.world.entity.EntityLiving;
|
||||
+import net.minecraft.world.entity.decoration.EntityArmorStand;
|
||||
import net.minecraft.world.entity.player.EntityHuman;
|
||||
|
||||
// Paper start
|
||||
@@ -27,6 +28,11 @@ public class ItemNameTag extends Item {
|
||||
if (!event.callEvent()) return EnumInteractionResult.PASS;
|
||||
EntityLiving newEntityLiving = ((org.bukkit.craftbukkit.entity.CraftLivingEntity) event.getEntity()).getHandle();
|
||||
newEntityLiving.setCustomName(event.getName() != null ? PaperAdventure.asVanilla(event.getName()) : null);
|
||||
+ // Purpur start
|
||||
+ if (entityhuman.world.purpurConfig.armorstandFixNametags && entityliving instanceof EntityArmorStand) {
|
||||
+ entityliving.setCustomNameVisible(true);
|
||||
+ }
|
||||
+ // Purpur end
|
||||
if (event.isPersistent() && newEntityLiving instanceof EntityInsentient) {
|
||||
((EntityInsentient) newEntityLiving).setPersistent();
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index b650293ff3315760e29307113e29fb2731af472b..dc1418f8f324eae24af3e993c6c720ff73702c92 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -84,9 +84,11 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
|
||||
public boolean armorstandSetNameVisible = false;
|
||||
+ public boolean armorstandFixNametags = false;
|
||||
public float armorstandStepHeight = 0.0F;
|
||||
private void armorstandSettings() {
|
||||
armorstandSetNameVisible = getBoolean("gameplay-mechanics.armorstand.set-name-visible-when-placing-with-custom-name", armorstandSetNameVisible);
|
||||
+ armorstandFixNametags = getBoolean("gameplay-mechanics.armorstand.fix-nametags", armorstandFixNametags);
|
||||
armorstandStepHeight = (float) getDouble("gameplay-mechanics.armorstand.step-height", armorstandStepHeight);
|
||||
}
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: BillyGalbreath <blake.galbreath@gmail.com>
|
||||
Date: Sun, 22 Nov 2020 06:02:32 -0600
|
||||
Subject: [PATCH] Add twisting and weeping vines growth rates
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/BlockGrowingTop.java b/src/main/java/net/minecraft/world/level/block/BlockGrowingTop.java
|
||||
index 84bd1fa9edb59b8515685a47783ed5e6abe7333f..546c7877647bac41753a600bd25c630a0510be56 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/BlockGrowingTop.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/BlockGrowingTop.java
|
||||
@@ -38,9 +38,11 @@ public abstract class BlockGrowingTop extends BlockGrowingAbstract implements IB
|
||||
return (Integer) iblockdata.get(BlockGrowingTop.d) < 25;
|
||||
}
|
||||
|
||||
+ public abstract double getGrowthModifier(WorldServer worldserver); // Purpur
|
||||
+
|
||||
@Override
|
||||
public void tick(IBlockData iblockdata, WorldServer worldserver, BlockPosition blockposition, Random random) {
|
||||
- if ((Integer) iblockdata.get(BlockGrowingTop.d) < 25 && random.nextDouble() < (100.0D / worldserver.spigotConfig.kelpModifier) * this.e) { // Spigot
|
||||
+ if ((Integer) iblockdata.get(BlockGrowingTop.d) < 25 && random.nextDouble() < (100.0D / getGrowthModifier(worldserver)) * this.e) { // Spigot // Purpur
|
||||
BlockPosition blockposition1 = blockposition.shift(this.a);
|
||||
|
||||
if (this.h(worldserver.getType(blockposition1))) {
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/BlockKelp.java b/src/main/java/net/minecraft/world/level/block/BlockKelp.java
|
||||
index 424b9b3c1263910eb6113f19efc14607dd2bf638..27f1cbe8786d7c37d62193a21baf0a2bdc6f0294 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/BlockKelp.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/BlockKelp.java
|
||||
@@ -4,6 +4,7 @@ import java.util.Random;
|
||||
import javax.annotation.Nullable;
|
||||
import net.minecraft.core.BlockPosition;
|
||||
import net.minecraft.core.EnumDirection;
|
||||
+import net.minecraft.server.level.WorldServer;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.tags.TagsFluid;
|
||||
import net.minecraft.world.item.context.BlockActionContext;
|
||||
@@ -66,4 +67,10 @@ public class BlockKelp extends BlockGrowingTop implements IFluidContainer {
|
||||
public Fluid d(IBlockData iblockdata) {
|
||||
return FluidTypes.WATER.a(false);
|
||||
}
|
||||
+
|
||||
+ // Purpur start
|
||||
+ public double getGrowthModifier(WorldServer worldserver) {
|
||||
+ return worldserver.spigotConfig.kelpModifier;
|
||||
+ }
|
||||
+ // Purpur end
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/BlockTwistingVines.java b/src/main/java/net/minecraft/world/level/block/BlockTwistingVines.java
|
||||
index 2cfa96f144391e664207ac8e8bdd3f11bfed4dff..3a8d08a1ee8f066cea36e6acff492e5af62993c5 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/BlockTwistingVines.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/BlockTwistingVines.java
|
||||
@@ -2,6 +2,7 @@ package net.minecraft.world.level.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.core.EnumDirection;
|
||||
+import net.minecraft.server.level.WorldServer;
|
||||
import net.minecraft.world.level.block.state.BlockBase;
|
||||
import net.minecraft.world.level.block.state.IBlockData;
|
||||
import net.minecraft.world.phys.shapes.VoxelShape;
|
||||
@@ -28,4 +29,10 @@ public class BlockTwistingVines extends BlockGrowingTop {
|
||||
protected boolean h(IBlockData iblockdata) {
|
||||
return BlockNetherVinesUtil.a(iblockdata);
|
||||
}
|
||||
+
|
||||
+ // Purpur start
|
||||
+ public double getGrowthModifier(WorldServer worldserver) {
|
||||
+ return worldserver.purpurConfig.twistingVinesGrowthModifier;
|
||||
+ }
|
||||
+ // Purpur end
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/world/level/block/BlockWeepingVines.java b/src/main/java/net/minecraft/world/level/block/BlockWeepingVines.java
|
||||
index 2552631084926c2fad40b3f21ae479c0e1cfdb77..198bd8857571872ed3f7437529c330dceeb825db 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/block/BlockWeepingVines.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/block/BlockWeepingVines.java
|
||||
@@ -2,6 +2,7 @@ package net.minecraft.world.level.block;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.core.EnumDirection;
|
||||
+import net.minecraft.server.level.WorldServer;
|
||||
import net.minecraft.world.level.block.state.BlockBase;
|
||||
import net.minecraft.world.level.block.state.IBlockData;
|
||||
import net.minecraft.world.phys.shapes.VoxelShape;
|
||||
@@ -28,4 +29,10 @@ public class BlockWeepingVines extends BlockGrowingTop {
|
||||
protected boolean h(IBlockData iblockdata) {
|
||||
return BlockNetherVinesUtil.a(iblockdata);
|
||||
}
|
||||
+
|
||||
+ // Purpur start
|
||||
+ public double getGrowthModifier(WorldServer worldserver) {
|
||||
+ return worldserver.purpurConfig.weepingVinesGrowthModifier;
|
||||
+ }
|
||||
+ // Purpur end
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index dc1418f8f324eae24af3e993c6c720ff73702c92..17bbe2ceea016bcb00dc5542bea47e083e723ea5 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -477,6 +477,16 @@ public class PurpurWorldConfig {
|
||||
turtleEggsBreakFromMinecarts = getBoolean("blocks.turtle_egg.break-from-minecarts", turtleEggsBreakFromMinecarts);
|
||||
}
|
||||
|
||||
+ public double twistingVinesGrowthModifier = 0.10D;
|
||||
+ private void twistingVinesSettings() {
|
||||
+ twistingVinesGrowthModifier = getDouble("blocks.twisting_vines.growth-modifier", twistingVinesGrowthModifier);
|
||||
+ }
|
||||
+
|
||||
+ public double weepingVinesGrowthModifier = 0.10D;
|
||||
+ private void weepingVinesSettings() {
|
||||
+ weepingVinesGrowthModifier = getDouble("blocks.weeping_vines.growth-modifier", weepingVinesGrowthModifier);
|
||||
+ }
|
||||
+
|
||||
public boolean babiesAreRidable = true;
|
||||
public boolean untamedTamablesAreRidable = true;
|
||||
public boolean useNightVisionWhenRiding = false;
|
||||
Reference in New Issue
Block a user