类 ChunkHolderMixin

java.lang.Object
cn.korostudio.c3h6n6o6.mixin.ChunkHolderMixin

public class ChunkHolderMixin extends Object
MCMTCE那边的并发改造代码(
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private it.unimi.dsi.fastutil.shorts.ShortSet[]
    blockUpdatesBySection镜像
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private void
    overwriteShortSet (net.minecraft.util.math.ChunkPos pos, int level, net.minecraft.world.HeightLimitView world, net.minecraft.world.chunk.light.LightingProvider lightingProvider, net.minecraft.server.world.ChunkHolder.LevelUpdateListener levelUpdateListener, net.minecraft.server.world.ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    实例化时修改blockUpdatesBySection为并发兼容的数据结构
    private void
    setBlockUpdatesBySection (it.unimi.dsi.fastutil.shorts.ShortSet[] array, int index, it.unimi.dsi.fastutil.shorts.ShortSet value)
    更新时修改blockUpdatesBySection为并发兼容的数据结构

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • blockUpdatesBySection

      private it.unimi.dsi.fastutil.shorts.ShortSet[] blockUpdatesBySection
      blockUpdatesBySection镜像
  • 构造器详细资料

    • ChunkHolderMixin

      public ChunkHolderMixin()
  • 方法详细资料

    • overwriteShortSet

      private void overwriteShortSet (net.minecraft.util.math.ChunkPos pos, int level, net.minecraft.world.HeightLimitView world, net.minecraft.world.chunk.light.LightingProvider lightingProvider, net.minecraft.server.world.ChunkHolder.LevelUpdateListener levelUpdateListener, net.minecraft.server.world.ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
      实例化时修改blockUpdatesBySection为并发兼容的数据结构
      参数:
      pos - 问MJ去
      level - 问MJ去
      world - 问MJ去
      lightingProvider - 问MJ去
      levelUpdateListener - 问MJ去
      playersWatchingChunkProvider - 问MJ去
      ci - 问海绵组去
    • setBlockUpdatesBySection

      private void setBlockUpdatesBySection (it.unimi.dsi.fastutil.shorts.ShortSet[] array, int index, it.unimi.dsi.fastutil.shorts.ShortSet value)
      更新时修改blockUpdatesBySection为并发兼容的数据结构
      参数:
      array - 问MJ去
      index - 问MJ去
      value - 问MJ去