Compiled from "JerryCanItem.java" public class com.ogaba.sacore.content.item.custom.JerryCanItem extends net.minecraft.world.item.Item { public static final int CAPACITY; public static final int BUCKET_AMOUNT; public com.ogaba.sacore.content.item.custom.JerryCanItem(net.minecraft.world.item.Item$Properties); Code: 0: aload_0 1: aload_1 2: iconst_1 3: invokevirtual #29 // Method net/minecraft/world/item/Item$Properties.m_41487_:(I)Lnet/minecraft/world/item/Item$Properties; 6: invokespecial #31 // Method net/minecraft/world/item/Item."":(Lnet/minecraft/world/item/Item$Properties;)V 9: return public net.minecraft.world.InteractionResultHolder m_7203_(net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player, net.minecraft.world.InteractionHand); Code: 0: aload_2 1: aload_3 2: invokevirtual #44 // Method net/minecraft/world/entity/player/Player.m_21120_:(Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/item/ItemStack; 5: astore 4 7: aload_2 8: invokevirtual #48 // Method net/minecraft/world/entity/player/Player.m_6144_:()Z 11: ifeq 69 14: aload 4 16: sipush 5000 19: invokestatic #54 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.isEmpty:(Lnet/minecraft/world/item/ItemStack;I)Z 22: ifeq 31 25: aload 4 27: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 30: areturn 31: aload_1 32: aload_2 33: getstatic #66 // Field net/minecraft/world/level/ClipContext$Fluid.NONE:Lnet/minecraft/world/level/ClipContext$Fluid; 36: invokestatic #70 // Method m_41435_:(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/ClipContext$Fluid;)Lnet/minecraft/world/phys/BlockHitResult; 39: astore 5 41: aload 5 43: invokevirtual #76 // Method net/minecraft/world/phys/BlockHitResult.m_6662_:()Lnet/minecraft/world/phys/HitResult$Type; 46: getstatic #80 // Field net/minecraft/world/phys/HitResult$Type.BLOCK:Lnet/minecraft/world/phys/HitResult$Type; 49: if_acmpeq 58 52: aload 4 54: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 57: areturn 58: aload_0 59: aload_1 60: aload_2 61: aload 4 63: aload 5 65: invokevirtual #84 // Method tryPlaceLiquid:(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResultHolder; 68: areturn 69: aload_1 70: aload_2 71: getstatic #87 // Field net/minecraft/world/level/ClipContext$Fluid.SOURCE_ONLY:Lnet/minecraft/world/level/ClipContext$Fluid; 74: invokestatic #70 // Method m_41435_:(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/ClipContext$Fluid;)Lnet/minecraft/world/phys/BlockHitResult; 77: astore 5 79: aload 5 81: invokevirtual #76 // Method net/minecraft/world/phys/BlockHitResult.m_6662_:()Lnet/minecraft/world/phys/HitResult$Type; 84: getstatic #80 // Field net/minecraft/world/phys/HitResult$Type.BLOCK:Lnet/minecraft/world/phys/HitResult$Type; 87: if_acmpeq 96 90: aload 4 92: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 95: areturn 96: aload_0 97: aload_1 98: aload_2 99: aload 4 101: aload 5 103: invokevirtual #90 // Method tryPickupLiquid:(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResultHolder; 106: areturn public net.minecraft.world.InteractionResult m_6225_(net.minecraft.world.item.context.UseOnContext); Code: 0: aload_1 1: invokevirtual #109 // Method net/minecraft/world/item/context/UseOnContext.m_43723_:()Lnet/minecraft/world/entity/player/Player; 4: astore_2 5: aload_2 6: ifnull 16 9: aload_2 10: invokevirtual #48 // Method net/minecraft/world/entity/player/Player.m_6144_:()Z 13: ifne 20 16: getstatic #115 // Field net/minecraft/world/InteractionResult.PASS:Lnet/minecraft/world/InteractionResult; 19: areturn 20: aload_1 21: invokevirtual #119 // Method net/minecraft/world/item/context/UseOnContext.m_43722_:()Lnet/minecraft/world/item/ItemStack; 24: astore_3 25: aload_3 26: sipush 5000 29: invokestatic #54 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.isEmpty:(Lnet/minecraft/world/item/ItemStack;I)Z 32: ifeq 39 35: getstatic #115 // Field net/minecraft/world/InteractionResult.PASS:Lnet/minecraft/world/InteractionResult; 38: areturn 39: aload_0 40: aload_1 41: invokevirtual #123 // Method net/minecraft/world/item/context/UseOnContext.m_43725_:()Lnet/minecraft/world/level/Level; 44: aload_2 45: aload_3 46: new #72 // class net/minecraft/world/phys/BlockHitResult 49: dup 50: aload_1 51: invokevirtual #127 // Method net/minecraft/world/item/context/UseOnContext.m_43720_:()Lnet/minecraft/world/phys/Vec3; 54: aload_1 55: invokevirtual #131 // Method net/minecraft/world/item/context/UseOnContext.m_43719_:()Lnet/minecraft/core/Direction; 58: aload_1 59: invokevirtual #135 // Method net/minecraft/world/item/context/UseOnContext.m_8083_:()Lnet/minecraft/core/BlockPos; 62: aload_1 63: invokevirtual #138 // Method net/minecraft/world/item/context/UseOnContext.m_43721_:()Z 66: invokespecial #141 // Method net/minecraft/world/phys/BlockHitResult."":(Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;Z)V 69: invokevirtual #84 // Method tryPlaceLiquid:(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResultHolder; 72: invokevirtual #145 // Method net/minecraft/world/InteractionResultHolder.m_19089_:()Lnet/minecraft/world/InteractionResult; 75: areturn private net.minecraft.world.InteractionResultHolder tryPickupLiquid(net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player, net.minecraft.world.item.ItemStack, net.minecraft.world.phys.BlockHitResult); Code: 0: aload 4 2: invokevirtual #151 // Method net/minecraft/world/phys/BlockHitResult.m_82425_:()Lnet/minecraft/core/BlockPos; 5: astore 5 7: aload_1 8: aload 5 10: invokevirtual #157 // Method net/minecraft/world/level/Level.m_6425_:(Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; 13: astore 6 15: aload 6 17: invokevirtual #162 // Method net/minecraft/world/level/material/FluidState.m_76170_:()Z 20: ifne 28 23: aload_3 24: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 27: areturn 28: aload 6 30: invokevirtual #168 // Method net/minecraft/world/level/material/FluidState.m_76152_:()Lnet/minecraft/world/level/material/Fluid; 33: astore 7 35: aload 7 37: getstatic #174 // Field net/minecraft/world/level/material/Fluids.f_76195_:Lnet/minecraft/world/level/material/FlowingFluid; 40: if_acmpeq 51 43: aload 7 45: getstatic #177 // Field net/minecraft/world/level/material/Fluids.f_76194_:Lnet/minecraft/world/level/material/FlowingFluid; 48: if_acmpne 78 51: aload_1 52: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 55: ifne 73 58: aload_2 59: ldc #185 // String message.sa_core.jerry_can.no_lava 61: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 64: getstatic #197 // Field net/minecraft/ChatFormatting.RED:Lnet/minecraft/ChatFormatting; 67: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 70: invokestatic #209 // Method com/ogaba/sacore/system/network/SACoreNetwork.sendHudMessage:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V 73: aload_3 74: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 77: areturn 78: aload 7 80: invokestatic #216 // Method getLiquidId:(Lnet/minecraft/world/level/material/Fluid;)Lnet/minecraft/resources/ResourceLocation; 83: astore 8 85: aload 8 87: ifnull 100 90: aload 7 92: aload 8 94: invokestatic #220 // Method isAllowedPortableLiquid:(Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/resources/ResourceLocation;)Z 97: ifne 105 100: aload_3 101: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 104: areturn 105: aload_3 106: invokestatic #226 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getLiquid:(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/resources/ResourceLocation; 109: astore 9 111: aload 9 113: ifnull 163 116: aload_3 117: sipush 5000 120: invokestatic #230 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getAmount:(Lnet/minecraft/world/item/ItemStack;I)I 123: ifle 163 126: aload 9 128: aload 8 130: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 133: ifne 163 136: aload_1 137: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 140: ifne 158 143: aload_2 144: ldc #236 // String message.sa_core.jerry_can.cannot_mix 146: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 149: getstatic #197 // Field net/minecraft/ChatFormatting.RED:Lnet/minecraft/ChatFormatting; 152: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 155: invokestatic #209 // Method com/ogaba/sacore/system/network/SACoreNetwork.sendHudMessage:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V 158: aload_3 159: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 162: areturn 163: aload_3 164: sipush 5000 167: invokestatic #239 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getSpace:(Lnet/minecraft/world/item/ItemStack;I)I 170: istore 10 172: iload 10 174: sipush 1000 177: if_icmpge 207 180: aload_1 181: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 184: ifne 202 187: aload_2 188: ldc #241 // String message.sa_core.jerry_can.full 190: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 193: getstatic #197 // Field net/minecraft/ChatFormatting.RED:Lnet/minecraft/ChatFormatting; 196: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 199: invokestatic #209 // Method com/ogaba/sacore/system/network/SACoreNetwork.sendHudMessage:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V 202: aload_3 203: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 206: areturn 207: aload_1 208: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 211: ifne 271 214: aload_3 215: aload 8 217: sipush 1000 220: sipush 5000 223: invokestatic #245 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.fill:(Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceLocation;II)I 226: istore 11 228: iload 11 230: sipush 1000 233: if_icmpeq 241 236: aload_3 237: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 240: areturn 241: aload_1 242: aload 5 244: getstatic #251 // Field net/minecraft/world/level/block/Blocks.f_50016_:Lnet/minecraft/world/level/block/Block; 247: invokevirtual #257 // Method net/minecraft/world/level/block/Block.m_49966_:()Lnet/minecraft/world/level/block/state/BlockState; 250: bipush 11 252: invokevirtual #261 // Method net/minecraft/world/level/Level.m_7731_:(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z 255: pop 256: aload_1 257: aconst_null 258: aload 5 260: getstatic #267 // Field net/minecraft/sounds/SoundEvents.f_11781_:Lnet/minecraft/sounds/SoundEvent; 263: getstatic #273 // Field net/minecraft/sounds/SoundSource.PLAYERS:Lnet/minecraft/sounds/SoundSource; 266: fconst_1 267: fconst_1 268: invokevirtual #277 // Method net/minecraft/world/level/Level.m_5594_:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V 271: aload_3 272: aload_1 273: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 276: invokestatic #281 // Method net/minecraft/world/InteractionResultHolder.m_19092_:(Ljava/lang/Object;Z)Lnet/minecraft/world/InteractionResultHolder; 279: areturn private net.minecraft.world.InteractionResultHolder tryPlaceLiquid(net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player, net.minecraft.world.item.ItemStack, net.minecraft.world.phys.BlockHitResult); Code: 0: aload_3 1: invokestatic #226 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getLiquid:(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/resources/ResourceLocation; 4: astore 5 6: aload 5 8: ifnonnull 16 11: aload_3 12: invokestatic #60 // Method net/minecraft/world/InteractionResultHolder.m_19098_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 15: areturn 16: aload 5 18: new #222 // class net/minecraft/resources/ResourceLocation 21: dup 22: ldc_w #295 // String minecraft 25: ldc_w #297 // String lava 28: invokespecial #300 // Method net/minecraft/resources/ResourceLocation."":(Ljava/lang/String;Ljava/lang/String;)V 31: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 34: ifeq 64 37: aload_1 38: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 41: ifne 59 44: aload_2 45: ldc #185 // String message.sa_core.jerry_can.no_lava 47: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 50: getstatic #197 // Field net/minecraft/ChatFormatting.RED:Lnet/minecraft/ChatFormatting; 53: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 56: invokestatic #209 // Method com/ogaba/sacore/system/network/SACoreNetwork.sendHudMessage:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V 59: aload_3 60: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 63: areturn 64: aload_3 65: sipush 5000 68: invokestatic #230 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getAmount:(Lnet/minecraft/world/item/ItemStack;I)I 71: sipush 1000 74: if_icmpge 82 77: aload_3 78: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 81: areturn 82: aload 4 84: invokevirtual #151 // Method net/minecraft/world/phys/BlockHitResult.m_82425_:()Lnet/minecraft/core/BlockPos; 87: astore 6 89: aload 6 91: aload 4 93: invokevirtual #303 // Method net/minecraft/world/phys/BlockHitResult.m_82434_:()Lnet/minecraft/core/Direction; 96: invokevirtual #307 // Method net/minecraft/core/BlockPos.m_121945_:(Lnet/minecraft/core/Direction;)Lnet/minecraft/core/BlockPos; 99: astore 7 101: aload_1 102: aload_2 103: aload 7 105: invokevirtual #311 // Method net/minecraft/world/level/Level.m_7966_:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;)Z 108: ifne 116 111: aload_3 112: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 115: areturn 116: aload 5 118: invokestatic #315 // Method getFluidFromLiquidId:(Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/material/Fluid; 121: astore 8 123: aload 8 125: ifnull 152 128: aload 8 130: getstatic #318 // Field net/minecraft/world/level/material/Fluids.f_76191_:Lnet/minecraft/world/level/material/Fluid; 133: if_acmpeq 152 136: aload 8 138: getstatic #174 // Field net/minecraft/world/level/material/Fluids.f_76195_:Lnet/minecraft/world/level/material/FlowingFluid; 141: if_acmpeq 152 144: aload 8 146: getstatic #177 // Field net/minecraft/world/level/material/Fluids.f_76194_:Lnet/minecraft/world/level/material/FlowingFluid; 149: if_acmpne 157 152: aload_3 153: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 156: areturn 157: aload_1 158: aload 7 160: invokevirtual #322 // Method net/minecraft/world/level/Level.m_8055_:(Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; 163: invokevirtual #327 // Method net/minecraft/world/level/block/state/BlockState.m_247087_:()Z 166: ifne 174 169: aload_3 170: invokestatic #212 // Method net/minecraft/world/InteractionResultHolder.m_19100_:(Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; 173: areturn 174: aload_1 175: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 178: ifne 226 181: aload_1 182: aload 7 184: aload 8 186: invokevirtual #331 // Method net/minecraft/world/level/material/Fluid.m_76145_:()Lnet/minecraft/world/level/material/FluidState; 189: invokevirtual #334 // Method net/minecraft/world/level/material/FluidState.m_76188_:()Lnet/minecraft/world/level/block/state/BlockState; 192: bipush 11 194: invokevirtual #261 // Method net/minecraft/world/level/Level.m_7731_:(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z 197: pop 198: aload_3 199: aload 5 201: sipush 1000 204: sipush 5000 207: invokestatic #337 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.drain:(Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceLocation;II)I 210: pop 211: aload_1 212: aconst_null 213: aload 7 215: getstatic #340 // Field net/minecraft/sounds/SoundEvents.f_11778_:Lnet/minecraft/sounds/SoundEvent; 218: getstatic #273 // Field net/minecraft/sounds/SoundSource.PLAYERS:Lnet/minecraft/sounds/SoundSource; 221: fconst_1 222: fconst_1 223: invokevirtual #277 // Method net/minecraft/world/level/Level.m_5594_:(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V 226: aload_3 227: aload_1 228: getfield #183 // Field net/minecraft/world/level/Level.f_46443_:Z 231: invokestatic #281 // Method net/minecraft/world/InteractionResultHolder.m_19092_:(Ljava/lang/Object;Z)Lnet/minecraft/world/InteractionResultHolder; 234: areturn private static net.minecraft.resources.ResourceLocation getLiquidId(net.minecraft.world.level.material.Fluid); Code: 0: aload_0 1: getstatic #345 // Field net/minecraft/world/level/material/Fluids.f_76193_:Lnet/minecraft/world/level/material/FlowingFluid; 4: if_acmpeq 14 7: aload_0 8: getstatic #348 // Field net/minecraft/world/level/material/Fluids.f_76192_:Lnet/minecraft/world/level/material/FlowingFluid; 11: if_acmpne 18 14: getstatic #351 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.WATER:Lnet/minecraft/resources/ResourceLocation; 17: areturn 18: aload_0 19: getstatic #357 // Field com/ogaba/sacore/registry/ModFluids.GASOLINE:Lnet/minecraftforge/registries/RegistryObject; 22: invokevirtual #363 // Method net/minecraftforge/registries/RegistryObject.get:()Ljava/lang/Object; 25: if_acmpeq 38 28: aload_0 29: getstatic #366 // Field com/ogaba/sacore/registry/ModFluids.FLOWING_GASOLINE:Lnet/minecraftforge/registries/RegistryObject; 32: invokevirtual #363 // Method net/minecraftforge/registries/RegistryObject.get:()Ljava/lang/Object; 35: if_acmpne 42 38: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 41: areturn 42: getstatic #374 // Field net/minecraftforge/registries/ForgeRegistries.FLUIDS:Lnet/minecraftforge/registries/IForgeRegistry; 45: aload_0 46: invokeinterface #380, 2 // InterfaceMethod net/minecraftforge/registries/IForgeRegistry.getKey:(Ljava/lang/Object;)Lnet/minecraft/resources/ResourceLocation; 51: areturn private static net.minecraft.world.level.material.Fluid getFluidFromLiquidId(net.minecraft.resources.ResourceLocation); Code: 0: aload_0 1: getstatic #351 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.WATER:Lnet/minecraft/resources/ResourceLocation; 4: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 7: ifeq 14 10: getstatic #345 // Field net/minecraft/world/level/material/Fluids.f_76193_:Lnet/minecraft/world/level/material/FlowingFluid; 13: areturn 14: aload_0 15: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 18: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 21: ifeq 34 24: getstatic #357 // Field com/ogaba/sacore/registry/ModFluids.GASOLINE:Lnet/minecraftforge/registries/RegistryObject; 27: invokevirtual #363 // Method net/minecraftforge/registries/RegistryObject.get:()Ljava/lang/Object; 30: checkcast #179 // class net/minecraft/world/level/material/Fluid 33: areturn 34: getstatic #374 // Field net/minecraftforge/registries/ForgeRegistries.FLUIDS:Lnet/minecraftforge/registries/IForgeRegistry; 37: aload_0 38: invokeinterface #384, 2 // InterfaceMethod net/minecraftforge/registries/IForgeRegistry.getValue:(Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/Object; 43: checkcast #179 // class net/minecraft/world/level/material/Fluid 46: areturn private static boolean isAllowedPortableLiquid(net.minecraft.world.level.material.Fluid, net.minecraft.resources.ResourceLocation); Code: 0: aload_0 1: getstatic #318 // Field net/minecraft/world/level/material/Fluids.f_76191_:Lnet/minecraft/world/level/material/Fluid; 4: if_acmpeq 21 7: aload_0 8: getstatic #174 // Field net/minecraft/world/level/material/Fluids.f_76195_:Lnet/minecraft/world/level/material/FlowingFluid; 11: if_acmpeq 21 14: aload_0 15: getstatic #177 // Field net/minecraft/world/level/material/Fluids.f_76194_:Lnet/minecraft/world/level/material/FlowingFluid; 18: if_acmpne 23 21: iconst_0 22: ireturn 23: aload_1 24: getstatic #351 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.WATER:Lnet/minecraft/resources/ResourceLocation; 27: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 30: ifne 43 33: aload_1 34: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 37: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 40: ifeq 47 43: iconst_1 44: goto 48 47: iconst_0 48: ireturn public boolean m_142522_(net.minecraft.world.item.ItemStack); Code: 0: aload_1 1: sipush 5000 4: invokestatic #54 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.isEmpty:(Lnet/minecraft/world/item/ItemStack;I)Z 7: ifne 14 10: iconst_1 11: goto 15 14: iconst_0 15: ireturn public int m_142158_(net.minecraft.world.item.ItemStack); Code: 0: aload_1 1: sipush 5000 4: invokestatic #230 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getAmount:(Lnet/minecraft/world/item/ItemStack;I)I 7: istore_2 8: iconst_1 9: aload_1 10: sipush 5000 13: invokestatic #391 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getCapacity:(Lnet/minecraft/world/item/ItemStack;I)I 16: invokestatic #397 // Method java/lang/Math.max:(II)I 19: istore_3 20: ldc_w #398 // float 13.0f 23: iload_2 24: i2f 25: fmul 26: iload_3 27: i2f 28: fdiv 29: invokestatic #402 // Method java/lang/Math.round:(F)I 32: ireturn public int m_142159_(net.minecraft.world.item.ItemStack); Code: 0: aload_1 1: invokestatic #226 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getLiquid:(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/resources/ResourceLocation; 4: astore_2 5: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 8: aload_2 9: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 12: ifeq 19 15: ldc_w #406 // int 14070346 18: ireturn 19: getstatic #351 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.WATER:Lnet/minecraft/resources/ResourceLocation; 22: aload_2 23: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 26: ifeq 33 29: ldc_w #407 // int 4159204 32: ireturn 33: getstatic #410 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.DIRTY_WATER:Lnet/minecraft/resources/ResourceLocation; 36: aload_2 37: invokevirtual #234 // Method net/minecraft/resources/ResourceLocation.equals:(Ljava/lang/Object;)Z 40: ifeq 47 43: ldc_w #411 // int 7301690 46: ireturn 47: ldc_w #412 // int 11184810 50: ireturn public boolean m_5812_(net.minecraft.world.item.ItemStack); Code: 0: aload_1 1: sipush 5000 4: invokestatic #54 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.isEmpty:(Lnet/minecraft/world/item/ItemStack;I)Z 7: ifne 22 10: aload_0 11: aload_1 12: invokespecial #416 // Method net/minecraft/world/item/Item.m_5812_:(Lnet/minecraft/world/item/ItemStack;)Z 15: ifeq 22 18: iconst_1 19: goto 23 22: iconst_0 23: ireturn public void m_7373_(net.minecraft.world.item.ItemStack, net.minecraft.world.level.Level, java.util.List, net.minecraft.world.item.TooltipFlag); Code: 0: aload_1 1: sipush 5000 4: invokestatic #230 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getAmount:(Lnet/minecraft/world/item/ItemStack;I)I 7: istore 5 9: aload_1 10: sipush 5000 13: invokestatic #391 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getCapacity:(Lnet/minecraft/world/item/ItemStack;I)I 16: istore 6 18: aload_1 19: invokestatic #226 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getLiquid:(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/resources/ResourceLocation; 22: astore 7 24: aload_1 25: sipush 5000 28: invokestatic #54 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.isEmpty:(Lnet/minecraft/world/item/ItemStack;I)Z 31: ifeq 104 34: aload_3 35: ldc_w #421 // String tooltip.sa_core.jerry_can.empty 38: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 41: getstatic #424 // Field net/minecraft/ChatFormatting.GRAY:Lnet/minecraft/ChatFormatting; 44: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 47: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 52: pop 53: aload_3 54: ldc_w #431 // String tooltip.sa_core.jerry_can.capacity 57: iconst_1 58: anewarray #433 // class java/lang/Object 61: dup 62: iconst_0 63: iload 6 65: invokestatic #439 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer; 68: aastore 69: invokestatic #443 // InterfaceMethod net/minecraft/network/chat/Component.m_237110_:(Ljava/lang/String;[Ljava/lang/Object;)Lnet/minecraft/network/chat/MutableComponent; 72: getstatic #446 // Field net/minecraft/ChatFormatting.DARK_GRAY:Lnet/minecraft/ChatFormatting; 75: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 78: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 83: pop 84: aload_3 85: ldc_w #448 // String tooltip.sa_core.jerry_can.use_empty 88: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 91: getstatic #446 // Field net/minecraft/ChatFormatting.DARK_GRAY:Lnet/minecraft/ChatFormatting; 94: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 97: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 102: pop 103: return 104: aload_3 105: ldc_w #450 // String tooltip.sa_core.jerry_can.liquid 108: iconst_1 109: anewarray #433 // class java/lang/Object 112: dup 113: iconst_0 114: aload 7 116: invokestatic #454 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.getLiquidTranslationKey:(Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; 119: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 122: aastore 123: invokestatic #443 // InterfaceMethod net/minecraft/network/chat/Component.m_237110_:(Ljava/lang/String;[Ljava/lang/Object;)Lnet/minecraft/network/chat/MutableComponent; 126: getstatic #457 // Field net/minecraft/ChatFormatting.YELLOW:Lnet/minecraft/ChatFormatting; 129: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 132: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 137: pop 138: aload_3 139: ldc_w #459 // String tooltip.sa_core.jerry_can.amount 142: iconst_2 143: anewarray #433 // class java/lang/Object 146: dup 147: iconst_0 148: iload 5 150: invokestatic #439 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer; 153: aastore 154: dup 155: iconst_1 156: iload 6 158: invokestatic #439 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer; 161: aastore 162: invokestatic #443 // InterfaceMethod net/minecraft/network/chat/Component.m_237110_:(Ljava/lang/String;[Ljava/lang/Object;)Lnet/minecraft/network/chat/MutableComponent; 165: getstatic #424 // Field net/minecraft/ChatFormatting.GRAY:Lnet/minecraft/ChatFormatting; 168: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 171: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 176: pop 177: aload_3 178: ldc_w #461 // String tooltip.sa_core.jerry_can.use_filled 181: invokestatic #191 // InterfaceMethod net/minecraft/network/chat/Component.m_237115_:(Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; 184: getstatic #446 // Field net/minecraft/ChatFormatting.DARK_GRAY:Lnet/minecraft/ChatFormatting; 187: invokevirtual #203 // Method net/minecraft/network/chat/MutableComponent.m_130940_:(Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; 190: invokeinterface #429, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z 195: pop 196: return public static int fillGasoline(net.minecraft.world.item.ItemStack, int); Code: 0: aload_0 1: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 4: iload_1 5: sipush 5000 8: invokestatic #245 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.fill:(Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceLocation;II)I 11: ireturn public static int drainGasoline(net.minecraft.world.item.ItemStack, int); Code: 0: aload_0 1: getstatic #368 // Field com/ogaba/sacore/system/liquid/SALiquidTankHelper.GASOLINE:Lnet/minecraft/resources/ResourceLocation; 4: iload_1 5: sipush 5000 8: invokestatic #337 // Method com/ogaba/sacore/system/liquid/SALiquidTankHelper.drain:(Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceLocation;II)I 11: ireturn }