Interface IPlatform
- All Known Implementing Classes:
PlatformFabric
public interface IPlatform
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringbooleanbooleanisModLoaded(String modId) <E extends net.minecraft.world.entity.Mob>
Supplier<net.minecraft.world.item.SpawnEggItem> makeSpawnEgg(net.minecraft.world.item.Item.Properties itemProperties, Supplier<net.minecraft.world.entity.EntityType<E>> entityType) net.minecraft.world.item.CreativeModeTab.Builder<T extends net.minecraft.world.level.block.Block>
Supplier<T> registerBlock(String id, Supplier<T> block) <T extends net.minecraft.world.level.block.entity.BlockEntity>
Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>> registerBlockEntity(String id, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>> blockEntityType) <T extends net.minecraft.world.item.CreativeModeTab>
Supplier<T> registerCreativeModeTab(String id, Supplier<T> tab) <T extends net.minecraft.world.entity.Entity>
Supplier<net.minecraft.world.entity.EntityType<T>> registerEntity(String id, Supplier<net.minecraft.world.entity.EntityType<T>> entity) <T extends net.minecraft.world.item.Item>
Supplier<T> registerItem(String id, Supplier<T> item) <T extends net.minecraft.sounds.SoundEvent>
Supplier<T> registerSound(String id, Supplier<T> sound)
-
Method Details
-
getPlatformName
String getPlatformName() -
isModLoaded
-
isDevelopmentEnvironment
boolean isDevelopmentEnvironment() -
getEnvironmentName
-
registerBlockEntity
-
registerBlock
-
registerEntity
-
registerItem
-
registerSound
-
registerCreativeModeTab
-
makeSpawnEgg
-
newCreativeTabBuilder
net.minecraft.world.item.CreativeModeTab.Builder newCreativeTabBuilder()
-