mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-22 16:14:48 +00:00
Initial update to Minecraft 1.16.1
A lot is broken, but at least we can get in game: - GUIs render a whole bunch of additional "inventory" text, which we really don't want. - Computers load from the wrong location. - There's some issues with using Forge's tags from outside of JSON recipes. We need to work out why.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
package dan200.computercraft.shared.util;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.fluid.FluidState;
|
||||
import net.minecraft.fluid.Fluids;
|
||||
import net.minecraft.fluid.IFluidState;
|
||||
import net.minecraft.item.BlockItemUseContext;
|
||||
import net.minecraft.state.BooleanProperty;
|
||||
import net.minecraft.state.properties.BlockStateProperties;
|
||||
@@ -34,7 +34,7 @@ public final class WaterloggableHelpers
|
||||
* @param state The current state
|
||||
* @return This waterlogged block's current fluid
|
||||
*/
|
||||
public static IFluidState getWaterloggedFluidState( BlockState state )
|
||||
public static FluidState getWaterloggedFluidState( BlockState state )
|
||||
{
|
||||
return state.get( WATERLOGGED ) ? Fluids.WATER.getStillFluidState( false ) : Fluids.EMPTY.getDefaultState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user