SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
@@ -66,6 +66,15 @@
|
||||
private static final Logger LOGGER = LogUtils.getLogger();
|
||||
public static final String ID_TAG = "id";
|
||||
public static final String PASSENGERS_TAG = "Passengers";
|
||||
@@ -189,7 +246,7 @@
|
||||
public double zOld;
|
||||
private float maxUpStep;
|
||||
public boolean noPhysics;
|
||||
- protected final RandomSource random;
|
||||
+ public final RandomSource random;
|
||||
public int tickCount;
|
||||
private int remainingFireTicks;
|
||||
public boolean wasTouchingWater;
|
||||
@@ -241,6 +298,25 @@
|
||||
public boolean hasVisualFire;
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user