Package vazkii.botania.xplat
Interface ClientXplatAbstractions
public interface ClientXplatAbstractions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final ClientXplatAbstractionsstatic final net.minecraft.resources.ResourceLocation -
Method Summary
Modifier and TypeMethodDescription@Nullable WandHUDfindWandHud(net.minecraft.world.entity.Entity entity) @Nullable WandHUDfindWandHud(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity be) voidfireRenderTinyPotato(net.minecraft.world.level.block.entity.BlockEntity potato, net.minecraft.network.chat.Component name, float tickDelta, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) voidrestoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) voidsendToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload packet) voidsetFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) voidtessellateBlock(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffers, int overlay) net.minecraft.client.resources.model.BakedModelwrapPlatformModel(net.minecraft.client.resources.model.BakedModel original)
-
Field Details
-
FLOATING_FLOWER_MODEL_LOADER_ID
static final net.minecraft.resources.ResourceLocation FLOATING_FLOWER_MODEL_LOADER_ID -
MANA_GUN_MODEL_LOADER_ID
static final net.minecraft.resources.ResourceLocation MANA_GUN_MODEL_LOADER_ID -
INSTANCE
-
-
Method Details
-
fireRenderTinyPotato
void fireRenderTinyPotato(net.minecraft.world.level.block.entity.BlockEntity potato, net.minecraft.network.chat.Component name, float tickDelta, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay) -
sendToServer
void sendToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload packet) -
findWandHud
@Nullable @Nullable WandHUD findWandHud(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity be) -
findWandHud
-
wrapPlatformModel
net.minecraft.client.resources.model.BakedModel wrapPlatformModel(net.minecraft.client.resources.model.BakedModel original) -
setFilterSave
void setFilterSave(net.minecraft.client.renderer.texture.AbstractTexture texture, boolean filter, boolean mipmap) -
restoreLastFilter
void restoreLastFilter(net.minecraft.client.renderer.texture.AbstractTexture texture) -
tessellateBlock
void tessellateBlock(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, com.mojang.blaze3d.vertex.PoseStack ps, net.minecraft.client.renderer.MultiBufferSource buffers, int overlay)
-