Skip to content

Commit 73c8276

Browse files
committed
fix classname
1 parent 4c79591 commit 73c8276

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

common/src/main/java/com/railwayteam/railways/content/moving_bes/GuiBlockMovementBehaviour.java common/src/main/java/com/railwayteam/railways/content/moving_bes/GuiBlockMovingInteractionBehaviour.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import net.minecraft.world.phys.BlockHitResult;
1212
import net.minecraft.world.phys.Vec3;
1313

14-
public class GuiBlockMovementBehaviour extends MovingInteractionBehaviour {
14+
public class GuiBlockMovingInteractionBehaviour extends MovingInteractionBehaviour {
1515
@Override
1616
public boolean handlePlayerInteraction(Player player, InteractionHand activeHand, BlockPos localPos, AbstractContraptionEntity contraptionEntity) {
1717
if (player.level.isClientSide())

common/src/main/java/com/railwayteam/railways/registry/CRInteractionBehaviours.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.railwayteam.railways.registry;
22

3-
import com.railwayteam.railways.content.moving_bes.GuiBlockMovementBehaviour;
3+
import com.railwayteam.railways.content.moving_bes.GuiBlockMovingInteractionBehaviour;
44
import com.simibubi.create.AllInteractionBehaviours;
55
import com.simibubi.create.AllMovementBehaviours;
66
import com.simibubi.create.content.contraptions.behaviour.MovementBehaviour;
@@ -11,12 +11,12 @@
1111

1212
public class CRInteractionBehaviours {
1313
public static void register() {
14-
add(Blocks.CRAFTING_TABLE, new GuiBlockMovementBehaviour());
15-
add(Blocks.LOOM, new GuiBlockMovementBehaviour());
16-
add(Blocks.CARTOGRAPHY_TABLE, new GuiBlockMovementBehaviour());
17-
add(Blocks.GRINDSTONE, new GuiBlockMovementBehaviour());
18-
add(Blocks.SMITHING_TABLE, new GuiBlockMovementBehaviour());
19-
add(Blocks.STONECUTTER, new GuiBlockMovementBehaviour());
14+
add(Blocks.CRAFTING_TABLE, new GuiBlockMovingInteractionBehaviour());
15+
add(Blocks.LOOM, new GuiBlockMovingInteractionBehaviour());
16+
add(Blocks.CARTOGRAPHY_TABLE, new GuiBlockMovingInteractionBehaviour());
17+
add(Blocks.GRINDSTONE, new GuiBlockMovingInteractionBehaviour());
18+
add(Blocks.SMITHING_TABLE, new GuiBlockMovingInteractionBehaviour());
19+
add(Blocks.STONECUTTER, new GuiBlockMovingInteractionBehaviour());
2020
}
2121

2222
private static void add(Block block, MovementBehaviour behaviour) {

0 commit comments

Comments
 (0)