Class Crops


public class Crops extends Plant
Mappings:
Namespace Name
intermediary net/minecraft/class_301
glue class_321
server ij
client ni
named net/minecraft/block/Crops
  • Constructor Details

    • Crops

      protected Crops(int id, int texture)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_473;<init>(II)V
      glue <init> Lclass_538;<init>(II)V
      server <init> Lnw;<init>(II)V
      client <init> Lwb;<init>(II)V
      named <init> Lnet/minecraft/block/Plant;<init>(II)V
  • Method Details

    • canPlantOnTopOf

      protected boolean canPlantOnTopOf(int id)
      Overrides:
      canPlantOnTopOf in class Plant
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1683 Lnet/minecraft/class_473;method_1683(I)Z
      glue method_1089 Lclass_538;method_1089(I)Z
      server c Lnw;c(I)Z
      client d Lwb;d(I)Z
      named canPlantOnTopOf Lnet/minecraft/block/Plant;canPlantOnTopOf(I)Z
    • onScheduledTick

      public void onScheduledTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      onScheduledTick in class Plant
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1602 Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_20 Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)V
      server a Lna;a(Ldj;IIILjava/util/Random;)V
      client a Luu;a(Lfd;IIILjava/util/Random;)V
      named onScheduledTick Lnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
    • growCropInstantly

      public void growCropInstantly(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_996 Lnet/minecraft/class_301;method_996(Lnet/minecraft/class_18;III)V
      glue method_1352 Lclass_321;method_1352(Lclass_129;III)V
      server d_ Lij;d_(Ldj;III)V
      client d_ Lni;d_(Lfd;III)V
      named growCropInstantly Lnet/minecraft/block/Crops;growCropInstantly(Lnet/minecraft/level/Level;III)V
    • growCropStage

      private float growCropStage(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_997 Lnet/minecraft/class_301;method_997(Lnet/minecraft/class_18;III)F
      glue method_1353 Lclass_321;method_1353(Lclass_129;III)F
      server h Lij;h(Ldj;III)F
      client i Lni;i(Lfd;III)F
      named growCropStage Lnet/minecraft/block/Crops;growCropStage(Lnet/minecraft/level/Level;III)F
    • getTextureForSide

      public int getTextureForSide(int side, int meta)
      Overrides:
      getTextureForSide in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1627 Lnet/minecraft/class_17;method_1627(II)I
      glue method_96 Lclass_507;method_96(II)I
      server a Lna;a(II)I
      client a Luu;a(II)I
      named getTextureForSide Lnet/minecraft/block/BlockBase;getTextureForSide(II)I
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class Plant
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1621 Lnet/minecraft/class_17;method_1621()I
      glue method_652 Lclass_507;method_652()I
      server method_1621 Lna;method_1621()I
      client b Luu;b()I
      named getRenderType Lnet/minecraft/block/BlockBase;getRenderType()I
    • beforeDestroyedByExplosion

      public void beforeDestroyedByExplosion(Level level, int x, int y, int z, int meta, float dropChance)
      Overrides:
      beforeDestroyedByExplosion in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1625 Lnet/minecraft/class_17;method_1625(Lnet/minecraft/class_18;IIIIF)V
      glue method_683 Lclass_507;method_683(Lclass_129;IIIIF)V
      server a Lna;a(Ldj;IIIIF)V
      client a Luu;a(Lfd;IIIIF)V
      named beforeDestroyedByExplosion Lnet/minecraft/block/BlockBase;beforeDestroyedByExplosion(Lnet/minecraft/level/Level;IIIIF)V
    • getDropId

      public int getDropId(int meta, Random rand)
      Overrides:
      getDropId in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1601 Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)I
      glue method_19 Lclass_507;method_19(ILjava/util/Random;)I
      server a Lna;a(ILjava/util/Random;)I
      client a Luu;a(ILjava/util/Random;)I
      named getDropId Lnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
    • getDropCount

      public int getDropCount(Random rand)
      Overrides:
      getDropCount in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1603 Lnet/minecraft/class_17;method_1603(Ljava/util/Random;)I
      glue method_21 Lclass_507;method_21(Ljava/util/Random;)I
      server a Lna;a(Ljava/util/Random;)I
      client a Luu;a(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/BlockBase;getDropCount(Ljava/util/Random;)I