MCPcopy Create free account
hub / github.com/Teneted/Tenet / setTag

Method setTag

src/main/java/net/minecraftforge/fluids/FluidStack.java:214–218  ·  view source on GitHub ↗
(CompoundNBT tag)

Source from the content-addressed store, hash-verified

212 }
213
214 public void setTag(CompoundNBT tag)
215 {
216 if (getRawFluid() == Fluids.EMPTY) throw new IllegalStateException("Can't modify the empty stack.");
217 this.tag = tag;
218 }
219
220 public CompoundNBT getOrCreateTag()
221 {

Callers 8

getOrCreateTagMethod · 0.95
makeTagMethod · 0.80
removeEnchantmentMethod · 0.80
setItemMetaMethod · 0.80
modifyItemStackMethod · 0.80
setFluidMethod · 0.80
setFluidMethod · 0.80
onPlaceItemIntoWorldMethod · 0.80

Calls 1

getRawFluidMethod · 0.95

Tested by

no test coverage detected