mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed incorrect property name on zap wood blocks
This commit is contained in:
parent
f620227e35
commit
86c569127a
2 changed files with 2 additions and 4 deletions
|
@ -8,13 +8,12 @@ import net.minecraft.item.ItemPlacementContext;
|
|||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.BooleanProperty;
|
||||
import net.minecraft.state.property.Properties;
|
||||
import net.minecraft.util.math.*;
|
||||
import net.minecraft.world.BlockView;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ZapAppleLogBlock extends PillarBlock {
|
||||
public static final BooleanProperty NATURAL = Properties.PERSISTENT;
|
||||
public static final BooleanProperty NATURAL = ZapBlock.NATURAL;
|
||||
|
||||
private final Block artifialModelBlock;
|
||||
|
||||
|
|
|
@ -13,14 +13,13 @@ import net.minecraft.item.ItemPlacementContext;
|
|||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.BooleanProperty;
|
||||
import net.minecraft.state.property.Properties;
|
||||
import net.minecraft.util.math.*;
|
||||
import net.minecraft.world.BlockView;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.event.GameEvent;
|
||||
|
||||
public class ZapBlock extends Block {
|
||||
public static final BooleanProperty NATURAL = Properties.PERSISTENT;
|
||||
public static final BooleanProperty NATURAL = BooleanProperty.of("natural");
|
||||
|
||||
private final Block artificialModelBlock;
|
||||
|
||||
|
|
Loading…
Reference in a new issue