Class Torch

Direct Known Subclasses:
RedstoneTorch

public class Torch extends BlockBase
Mappings:
Namespace Name
intermediary net/minecraft/class_494
glue class_529
server np
client vm
named net/minecraft/block/Torch
  • Constructor Details

    • Torch

      protected Torch(int id, int int2)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_494;<init>(II)V
      glue <init> Lclass_529;<init>(II)V
      server <init> Lnp;<init>(II)V
      client <init> Lvm;<init>(II)V
      named <init> Lnet/minecraft/block/Torch;<init>(II)V
  • Method Details

    • getCollisionShape

      public Box getCollisionShape(Level level, int x, int y, int z)
      Overrides:
      getCollisionShape in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1624 Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_67 Lclass_507;method_67(Lclass_129;III)Lclass_113;
      server e Lna;e(Ldj;III)Lcz;
      client e Luu;e(Lfd;III)Leq;
      named getCollisionShape Lnet/minecraft/block/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
    • isFullOpaque

      public boolean isFullOpaque()
      Overrides:
      isFullOpaque in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1620 Lnet/minecraft/class_17;method_1620()Z
      glue method_65 Lclass_507;method_65()Z
      server a Lna;a()Z
      client c Luu;c()Z
      named isFullOpaque Lnet/minecraft/block/BlockBase;isFullOpaque()Z
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1623 Lnet/minecraft/class_17;method_1623()Z
      glue method_66 Lclass_507;method_66()Z
      server b Lna;b()Z
      client d Luu;d()Z
      named isFullCube Lnet/minecraft/block/BlockBase;isFullCube()Z
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class BlockBase
      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
    • method_1674

      private boolean method_1674(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1674 Lnet/minecraft/class_494;method_1674(Lnet/minecraft/class_18;III)Z
      glue method_1942 Lclass_529;method_1942(Lclass_129;III)Z
      server g Lnp;g(Ldj;III)Z
      client h Lvm;h(Lfd;III)Z
      named method_1674 Lnet/minecraft/block/Torch;method_1674(Lnet/minecraft/level/Level;III)Z
    • canPlaceAt

      public boolean canPlaceAt(Level level, int x, int y, int z)
      Overrides:
      canPlaceAt in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1567 Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Z
      glue method_153 Lclass_507;method_153(Lclass_129;III)Z
      server a Lna;a(Ldj;III)Z
      client a Luu;a(Lfd;III)Z
      named canPlaceAt Lnet/minecraft/block/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
    • onBlockPlaced

      public void onBlockPlaced(Level level, int x, int y, int z, int facing)
      Overrides:
      onBlockPlaced in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1606 Lnet/minecraft/class_17;method_1606(Lnet/minecraft/class_18;IIII)V
      glue method_254 Lclass_507;method_254(Lclass_129;IIII)V
      server e Lna;e(Ldj;IIII)V
      client e Luu;e(Lfd;IIII)V
      named onBlockPlaced Lnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;IIII)V
    • onScheduledTick

      public void onScheduledTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      onScheduledTick in class BlockBase
      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
    • onBlockPlaced

      public void onBlockPlaced(Level level, int x, int y, int z)
      Overrides:
      onBlockPlaced in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1611 Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)V
      glue method_41 Lclass_507;method_41(Lclass_129;III)V
      server c Lna;c(Ldj;III)V
      client c Luu;c(Lfd;III)V
      named onBlockPlaced Lnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
    • onAdjacentBlockUpdate

      public void onAdjacentBlockUpdate(Level level, int x, int y, int z, int id)
      Overrides:
      onAdjacentBlockUpdate in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1609 Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)V
      glue method_39 Lclass_507;method_39(Lclass_129;IIII)V
      server b Lna;b(Ldj;IIII)V
      client b Luu;b(Lfd;IIII)V
      named onAdjacentBlockUpdate Lnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
    • method_1675

      private boolean method_1675(Level level, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1675 Lnet/minecraft/class_494;method_1675(Lnet/minecraft/class_18;III)Z
      glue method_1943 Lclass_529;method_1943(Lclass_129;III)Z
      server h Lnp;h(Ldj;III)Z
      client i Lvm;i(Lfd;III)Z
      named method_1675 Lnet/minecraft/block/Torch;method_1675(Lnet/minecraft/level/Level;III)Z
    • method_1564

      public HitResult method_1564(Level level, int x, int y, int z, Vec3f vec3f, Vec3f vec3f2)
      Overrides:
      method_1564 in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1564 Lnet/minecraft/class_17;method_1564(Lnet/minecraft/class_18;IIILnet/minecraft/class_26;Lnet/minecraft/class_26;)Lnet/minecraft/class_27;
      glue method_1225 Lclass_507;method_1225(Lclass_129;IIILclass_45;Lclass_45;)Lclass_518;
      server a Lna;a(Ldj;IIILba;Lba;)Lnh;
      client a Luu;a(Lfd;IIILbt;Lbt;)Lvf;
      named method_1564 Lnet/minecraft/block/BlockBase;method_1564(Lnet/minecraft/level/Level;IIILnet/minecraft/util/maths/Vec3f;Lnet/minecraft/util/maths/Vec3f;)Lnet/minecraft/util/hit/HitResult;
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(Level level, int x, int y, int z, Random rand)
      Overrides:
      randomDisplayTick in class BlockBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1617 Lnet/minecraft/class_17;method_1617(Lnet/minecraft/class_18;IIILjava/util/Random;)V
      glue method_62 Lclass_507;method_62(Lclass_129;IIILjava/util/Random;)V
      server method_1617 Lna;method_1617(Ldj;IIILjava/util/Random;)V
      client b Luu;b(Lfd;IIILjava/util/Random;)V
      named randomDisplayTick Lnet/minecraft/block/BlockBase;randomDisplayTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V