mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 07:27:15 +01:00
update bucket volume constant
This commit is contained in:
parent
c77bcbfabf
commit
4cbac61c05
1 changed files with 1 additions and 3 deletions
|
@ -14,8 +14,6 @@ import com.simibubi.create.infrastructure.gametest.CreateGameTestHelper;
|
||||||
import com.simibubi.create.infrastructure.gametest.GameTestGroup;
|
import com.simibubi.create.infrastructure.gametest.GameTestGroup;
|
||||||
|
|
||||||
import net.minecraft.core.BlockPos;
|
import net.minecraft.core.BlockPos;
|
||||||
import net.minecraft.core.Holder;
|
|
||||||
import net.minecraft.core.Registry;
|
|
||||||
import net.minecraft.gametest.framework.GameTest;
|
import net.minecraft.gametest.framework.GameTest;
|
||||||
import net.minecraft.gametest.framework.GameTestAssertException;
|
import net.minecraft.gametest.framework.GameTestAssertException;
|
||||||
import net.minecraft.tags.BlockTags;
|
import net.minecraft.tags.BlockTags;
|
||||||
|
@ -254,7 +252,7 @@ public class TestFluids {
|
||||||
BlockPos lever = new BlockPos(3, 3, 1);
|
BlockPos lever = new BlockPos(3, 3, 1);
|
||||||
BlockPos output = new BlockPos(3, 4, 4);
|
BlockPos output = new BlockPos(3, 4, 4);
|
||||||
BlockPos tankOutput = new BlockPos(1, 2, 4);
|
BlockPos tankOutput = new BlockPos(1, 2, 4);
|
||||||
FluidStack expected = new FluidStack(Fluids.WATER, 2 * FluidAttributes.BUCKET_VOLUME);
|
FluidStack expected = new FluidStack(Fluids.WATER, 2 * FluidType.BUCKET_VOLUME);
|
||||||
helper.pullLever(lever);
|
helper.pullLever(lever);
|
||||||
helper.succeedWhen(() -> {
|
helper.succeedWhen(() -> {
|
||||||
helper.assertFluidPresent(expected, tankOutput);
|
helper.assertFluidPresent(expected, tankOutput);
|
||||||
|
|
Loading…
Reference in a new issue