Rename the AbstractButtonBlock class to ButtonBlock (#3358)

* Rename the AbstractButtonBlock class to ButtonBlock

* Fix references to the AbstractButtonBlock class in documentation
This commit is contained in:
haykam821 2022-10-25 01:14:37 -04:00 committed by GitHub
parent 69be007d9d
commit aa5150c0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -435,7 +435,7 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock
COMMENT
COMMENT <p>Weak redstone power is a power that cannot power a redstone wire when a solid block
COMMENT is in between. For example, {@link RedstoneBlock} and {@link TargetBlock} emits weak
COMMENT redstone power only. {@link LeverBlock} and {@link AbstractButtonBlock} emits both
COMMENT redstone power only. {@link LeverBlock} and {@link ButtonBlock} emits both
COMMENT weak and strong redstone power depending on the direction.
COMMENT
COMMENT @deprecated Consider calling {@link AbstractBlockState#getWeakRedstonePower} instead. See <a href="#deprecated-methods">why these methods are deprecated</a>.
@ -770,7 +770,7 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock
COMMENT
COMMENT <p>Strong redstone power is a power that can power a redstone wire when a solid block
COMMENT is in between. For example, {@link RedstoneBlock} and {@link TargetBlock} emits weak
COMMENT redstone power only. {@link LeverBlock} and {@link AbstractButtonBlock} emits both
COMMENT redstone power only. {@link LeverBlock} and {@link ButtonBlock} emits both
COMMENT weak and strong redstone power.
COMMENT
COMMENT @deprecated Consider calling {@link AbstractBlockState#getStrongRedstonePower} instead. See <a href="#deprecated-methods">why these methods are deprecated</a>.

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_2269 net/minecraft/block/AbstractButtonBlock
CLASS net/minecraft/class_2269 net/minecraft/block/ButtonBlock
FIELD field_10715 SOUTH_SHAPE Lnet/minecraft/class_265;
FIELD field_10716 FLOOR_Z_SHAPE Lnet/minecraft/class_265;
FIELD field_10717 CEILING_X_PRESSED_SHAPE Lnet/minecraft/class_265;