Class ItemDelegatingEntityIotaHolder
java.lang.Object
at.petrak.hexcasting.api.addldata.ItemDelegatingEntityIotaHolder
- All Implemented Interfaces:
ADIotaHolder
- Direct Known Subclasses:
ItemDelegatingEntityIotaHolder.ToItemEntity,ItemDelegatingEntityIotaHolder.ToItemFrame,ItemDelegatingEntityIotaHolder.ToWallScroll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionItemDelegatingEntityIotaHolder(Supplier<net.minecraft.world.item.ItemStack> stackSupplier, Consumer<net.minecraft.world.item.ItemStack> save) -
Method Summary
-
Constructor Details
-
ItemDelegatingEntityIotaHolder
-
-
Method Details
-
readIotaTag
@Nullable public @Nullable net.minecraft.nbt.CompoundTag readIotaTag()- Specified by:
readIotaTagin interfaceADIotaHolder
-
writeable
public boolean writeable()- Specified by:
writeablein interfaceADIotaHolder- Returns:
- whether it is possible to write to this IotaHolder
-
writeIota
- Specified by:
writeIotain interfaceADIotaHolder- Returns:
- if the writing succeeded/would succeed
-
readIota
- Specified by:
readIotain interfaceADIotaHolder
-
emptyIota
- Specified by:
emptyIotain interfaceADIotaHolder
-