Class NeoForgeEventPoster

java.lang.Object
net.nikdo53.tinymultiblocklib.platform.NeoForgeEventPoster
All Implemented Interfaces:
IEventPoster

public class NeoForgeEventPoster extends Object implements IEventPoster
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NeoForgeEventPoster
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBlockPreviewPost(PreviewMode previewMode, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.client.player.LocalPlayer player, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, Set<BlockLike> blockLikeSet)
     
    onBlockPreviewPre(PreviewMode previewMode, boolean isCancelled, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.client.player.LocalPlayer player, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, Set<BlockLike> blockLikeSet)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NeoForgeEventPoster

      public NeoForgeEventPoster()
  • Method Details

    • onBlockPreviewPre

      public IOnBlockPreviewEvent onBlockPreviewPre(PreviewMode previewMode, boolean isCancelled, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.client.player.LocalPlayer player, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, Set<BlockLike> blockLikeSet)
      Specified by:
      onBlockPreviewPre in interface IEventPoster
    • onBlockPreviewPost

      public void onBlockPreviewPost(PreviewMode previewMode, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.client.player.LocalPlayer player, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, Set<BlockLike> blockLikeSet)
      Specified by:
      onBlockPreviewPost in interface IEventPoster