|
6 | 6 | import com.simibubi.create.Create;
|
7 | 7 | import com.simibubi.create.content.contraptions.actors.seat.SeatInteractionBehaviour;
|
8 | 8 | import com.simibubi.create.content.contraptions.actors.seat.SeatMovementBehaviour;
|
9 |
| -import com.simibubi.create.content.redstone.displayLink.source.EntityNameDisplaySource; |
10 | 9 | import com.simibubi.create.foundation.block.DyedBlockList;
|
11 | 10 | import com.simibubi.create.foundation.data.AssetLookup;
|
12 | 11 | import com.simibubi.create.foundation.data.SharedProperties;
|
|
40 | 39 |
|
41 | 40 | import dev.architectury.injectables.annotations.ExpectPlatform;
|
42 | 41 |
|
43 |
| -import static com.simibubi.create.AllInteractionBehaviours.interactionBehaviour; |
44 |
| -import static com.simibubi.create.AllMovementBehaviours.movementBehaviour; |
45 |
| -import static com.simibubi.create.content.redstone.displayLink.AllDisplayBehaviours.assignDataBehaviour; |
| 42 | +import static com.simibubi.create.api.behaviour.interaction.MovingInteractionBehaviour.interactionBehaviour; |
| 43 | +import static com.simibubi.create.api.behaviour.movement.MovementBehaviour.movementBehaviour; |
46 | 44 | import static com.simibubi.create.foundation.block.ProperWaterloggedBlock.WATERLOGGED;
|
47 | 45 | import static com.simibubi.create.foundation.data.TagGen.axeOnly;
|
48 | 46 | import static com.sudolev.interiors.CreateInteriors.REGISTRATE;
|
49 | 47 |
|
| 48 | +// TODO: is AllDisplayBehaviours.assignDataBehaviour necessary to replace? |
50 | 49 | @SuppressWarnings("unused")
|
51 | 50 | public final class CIBlocks {
|
52 | 51 |
|
@@ -122,7 +121,7 @@ public final class CIBlocks {
|
122 | 121 | })
|
123 | 122 | .onRegister(movementBehaviour(new SeatMovementBehaviour()))
|
124 | 123 | .onRegister(interactionBehaviour(new SeatInteractionBehaviour()))
|
125 |
| - .onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
| 124 | +// .onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
126 | 125 | .onRegisterAfter(Registries.ITEM, v -> ItemDescription.useKey(v, "block.interiors.chair"))
|
127 | 126 | .tag(CITags.Blocks.FLOOR_CHAIRS)
|
128 | 127 | .item().tag(CITags.Items.FLOOR_CHAIRS)
|
@@ -181,7 +180,7 @@ public final class CIBlocks {
|
181 | 180 | })
|
182 | 181 | .onRegister(movementBehaviour(new BigSeatMovementBehaviour()))
|
183 | 182 | .onRegister(interactionBehaviour(new SeatInteractionBehaviour()))
|
184 |
| - .onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
| 183 | + //.onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
185 | 184 | .onRegisterAfter(Registries.ITEM, v -> ItemDescription.useKey(v, "block.interiors.chair"))
|
186 | 185 | .tag(CITags.Blocks.CHAIRS)
|
187 | 186 | .item()
|
@@ -248,7 +247,7 @@ public final class CIBlocks {
|
248 | 247 | }, WATERLOGGED))
|
249 | 248 | .onRegister(movementBehaviour(new SeatMovementBehaviour()))
|
250 | 249 | .onRegister(interactionBehaviour(new SeatInteractionBehaviour()))
|
251 |
| - .onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
| 250 | + //.onRegister(assignDataBehaviour(new EntityNameDisplaySource(), "entity_name")) |
252 | 251 | .onRegisterAfter(Registries.ITEM, v -> ItemDescription.useKey(v, "block.create.seat"))
|
253 | 252 | .simpleItem()
|
254 | 253 | .register();
|
|
0 commit comments