接口 SculkSensorListener.Callback

  • 所有已知实现类:
    SculkSensorBlockEntity
    封闭类:
    SculkSensorListener

    public static interface SculkSensorListener.Callback
    Mappings:
    Namespace Name
    official coa$a
    intermediary net/minecraft/class_5718$class_5719
    named net/minecraft/world/event/listener/SculkSensorListener$Callback
    • 方法详细资料

      • accepts

        boolean accepts​(World world,
                        GameEventListener listener,
                        BlockPos pos,
                        GameEvent event,
                        @Nullable
                        @Nullable Entity entity)
        Returns whether the callback wants to accept this event.
        Mappings:
        Namespace Name Mixin selector
        official a Lcoa$a;a(Lbvr;Lcnv;Lgb;Lcnt;Lasl;)Z
        intermediary method_32970 Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
        named accepts Lnet/minecraft/world/event/listener/SculkSensorListener$Callback;accepts(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
      • accept

        void accept​(World world,
                    GameEventListener listener,
                    GameEvent event,
                    int distance)
        Accepts a game event after delay.
        Mappings:
        Namespace Name Mixin selector
        official a Lcoa$a;a(Lbvr;Lcnv;Lcnt;I)V
        intermediary method_32969 Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_5712;I)V
        named accept Lnet/minecraft/world/event/listener/SculkSensorListener$Callback;accept(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/world/event/GameEvent;I)V