mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
rename ICamouflagedBlock to ICamouflagedTile
This commit is contained in:
1 parent
b1d55811a9
commit
686e2799ad
8 files changed
+18
-18
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ package forestry.api.core;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface ICamouflagedBlock {
|
||||
public interface ICamouflagedTile {
|
||||
|
||||
EnumCamouflageType getCamouflageType();
|
||||
|
||||
@@ -17,7 +17,7 @@ import net.minecraftforge.fml.common.eventhandler.Event;
|
||||
|
||||
import forestry.api.core.EnumCamouflageType;
|
||||
import forestry.api.core.ICamouflageHandler;
|
||||
import forestry.api.core.ICamouflagedBlock;
|
||||
import forestry.api.core.ICamouflagedTile;
|
||||
|
||||
public class GreenhouseEvents extends Event {
|
||||
|
||||
@@ -31,13 +31,13 @@ public class GreenhouseEvents extends Event {
|
||||
public static class CamouflageChangeEvent extends GreenhouseEvents{
|
||||
|
||||
@Nullable
|
||||
public ICamouflagedBlock camouflagedBlock;
|
||||
public ICamouflagedTile camouflagedBlock;
|
||||
@Nonnull
|
||||
public ICamouflageHandler camouflageHandler;
|
||||
@Nonnull
|
||||
public final EnumCamouflageType camouflageType;
|
||||
|
||||
public CamouflageChangeEvent(IGreenhouseState state, @Nullable ICamouflagedBlock camouflagedBlock, @Nonnull ICamouflageHandler camouflageHandler, @Nonnull EnumCamouflageType camouflageType) {
|
||||
public CamouflageChangeEvent(IGreenhouseState state, @Nullable ICamouflagedTile camouflagedBlock, @Nonnull ICamouflageHandler camouflageHandler, @Nonnull EnumCamouflageType camouflageType) {
|
||||
super(state);
|
||||
|
||||
this.camouflagedBlock = camouflagedBlock;
|
||||
|
||||
Reference in new issue
Block a user