geforkt von Mirrors/Paper
SPIGOT-6514: Small Dripleaf block data is missing half property
By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
8198d062f3
Commit
35223329b1
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
package org.bukkit.craftbukkit.block.impl;
|
package org.bukkit.craftbukkit.block.impl;
|
||||||
|
|
||||||
public final class CraftSmallDripleaf extends org.bukkit.craftbukkit.block.data.CraftBlockData implements org.bukkit.block.data.type.Dripleaf, org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged {
|
public final class CraftSmallDripleaf extends org.bukkit.craftbukkit.block.data.CraftBlockData implements org.bukkit.block.data.type.SmallDripleaf, org.bukkit.block.data.type.Dripleaf, org.bukkit.block.data.Bisected, org.bukkit.block.data.Directional, org.bukkit.block.data.Waterlogged {
|
||||||
|
|
||||||
public CraftSmallDripleaf() {
|
public CraftSmallDripleaf() {
|
||||||
super();
|
super();
|
||||||
@ -13,6 +13,20 @@ public final class CraftSmallDripleaf extends org.bukkit.craftbukkit.block.data.
|
|||||||
super(state);
|
super(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// org.bukkit.craftbukkit.block.data.CraftBisected
|
||||||
|
|
||||||
|
private static final net.minecraft.world.level.block.state.properties.BlockStateEnum<?> HALF = getEnum(net.minecraft.world.level.block.SmallDripleafBlock.class, "half");
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||||
|
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||||
|
set(HALF, half);
|
||||||
|
}
|
||||||
|
|
||||||
// org.bukkit.craftbukkit.block.data.CraftDirectional
|
// org.bukkit.craftbukkit.block.data.CraftDirectional
|
||||||
|
|
||||||
private static final net.minecraft.world.level.block.state.properties.BlockStateEnum<?> FACING = getEnum(net.minecraft.world.level.block.SmallDripleafBlock.class, "facing");
|
private static final net.minecraft.world.level.block.state.properties.BlockStateEnum<?> FACING = getEnum(net.minecraft.world.level.block.SmallDripleafBlock.class, "facing");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren