Skip to content

Commit

Permalink
Map changes to dispensers in 1.20.2 pre-release 4 (#3665)
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 authored Sep 14, 2023
1 parent c1471bc commit 0fd7541
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions mappings/net/minecraft/block/DispenserBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CLASS net/minecraft/class_2315 net/minecraft/block/DispenserBlock
FIELD field_10919 BEHAVIORS Ljava/util/Map;
FIELD field_10920 TRIGGERED Lnet/minecraft/class_2746;
FIELD field_31082 SCHEDULED_TICK_DELAY I
FIELD field_46212 LOGGER Lorg/slf4j/Logger;
METHOD method_10008 (Lit/unimi/dsi/fastutil/objects/Object2ObjectOpenHashMap;)V
ARG 0 map
METHOD method_10009 registerBehavior (Lnet/minecraft/class_1935;Lnet/minecraft/class_2357;)V
Expand All @@ -14,3 +15,5 @@ CLASS net/minecraft/class_2315 net/minecraft/block/DispenserBlock
ARG 1 stack
METHOD method_10012 dispense (Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
ARG 1 world
ARG 2 state
ARG 3 pos
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/DropperBlock.mapping
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CLASS net/minecraft/class_2325 net/minecraft/block/DropperBlock
FIELD field_10949 BEHAVIOR Lnet/minecraft/class_2357;
FIELD field_46213 LOGGER Lorg/slf4j/Logger;
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CLASS net/minecraft/class_2357 net/minecraft/block/dispenser/DispenserBehavior
METHOD method_18346 registerDefaults ()V
METHOD method_27042 setEntityPosition (Lnet/minecraft/class_2342;Lnet/minecraft/class_1299;Lnet/minecraft/class_2350;)Lnet/minecraft/class_243;
ARG 0 pointer
ARG 1 entityType
ARG 2 direction
CLASS 3
METHOD method_27159 (Lnet/minecraft/class_1309;)Z
Expand Down
4 changes: 2 additions & 2 deletions mappings/net/minecraft/world/WorldEvents.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents
FIELD field_31159 DISPENSER_FAILS I
COMMENT A dispenser fails to dispense an item.
COMMENT <br>Plays the dispenser fail sound event.
COMMENT <p>Called by {@link net.minecraft.block.DispenserBlock#dispense(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos) DispenserBlock#dispense},
COMMENT {@link net.minecraft.block.DropperBlock#dispense(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos) DropperBlock#dispense},
COMMENT <p>Called by {@link net.minecraft.block.DispenserBlock#dispense(net.minecraft.server.world.ServerWorld, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos) DispenserBlock#dispense},
COMMENT {@link net.minecraft.block.DropperBlock#dispense(net.minecraft.server.world.ServerWorld, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos) DropperBlock#dispense},
COMMENT and {@link net.minecraft.block.dispenser.FallibleItemDispenserBehavior#playSound(net.minecraft.util.math.BlockPointer) FallibleItemDispenserBehavior#playSound}
FIELD field_31160 DISPENSER_LAUNCHES_PROJECTILE I
COMMENT A dispenser launches a projectile.
Expand Down

0 comments on commit 0fd7541

Please sign in to comment.