Package com.hbm_m.item
Interface ISatChip
- All Known Implementing Classes:
ItemSatChip,ItemSatDesignator
public interface ISatChip
Port of legacy
com.hbm.items.ISatChip. Items implementing this can be launched
as a Soyuz satellite payload and/or used as a remote-control item; both share the same
NBT-tagged "freq" so a payload and a designator can be matched to each other.-
Method Summary
Modifier and TypeMethodDescriptiondefault intgetFreq(net.minecraft.world.item.ItemStack stack) static intgetFreqS(net.minecraft.world.item.ItemStack stack) default voidsetFreq(net.minecraft.world.item.ItemStack stack, int freq) static voidsetFreqS(net.minecraft.world.item.ItemStack stack, int freq)
-
Method Details
-
getFreqS
static int getFreqS(net.minecraft.world.item.ItemStack stack) -
setFreqS
static void setFreqS(net.minecraft.world.item.ItemStack stack, int freq) -
getFreq
default int getFreq(net.minecraft.world.item.ItemStack stack) -
setFreq
default void setFreq(net.minecraft.world.item.ItemStack stack, int freq)
-