Class ModelOverride

java.lang.Object
tschipp.carryon.client.modeloverride.ModelOverride

public class ModelOverride extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static com.mojang.serialization.Codec<ModelOverride>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,net.minecraft.world.level.block.state.BlockState>
     
    boolean
    matches(net.minecraft.world.level.block.state.BlockState state, net.minecraft.nbt.CompoundTag tag)
     
    static com.mojang.serialization.DataResult<ModelOverride>
    of(String str)
     

    Methods inherited from class java.lang.Object

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

    • CODEC

      public static com.mojang.serialization.Codec<ModelOverride> CODEC
  • Method Details

    • of

      public static com.mojang.serialization.DataResult<ModelOverride> of(String str)
    • matches

      public boolean matches(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.nbt.CompoundTag tag)
    • getRenderObject

      public com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,net.minecraft.world.level.block.state.BlockState> getRenderObject()