Skip to content

Commit

Permalink
Removed some content.
Browse files Browse the repository at this point in the history
  • Loading branch information
sashafiesta committed May 14, 2024
1 parent 61562c0 commit 49913dc
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 61 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Port status:
+=========================+=========================================================+
| Feature | Status |
+=========================+=========================================================+
| Kinetic Blocks | Implemented |
| Kinetic Blocks | Implemented except encased chain cogwheel |
+-------------------------+---------------------------------------------------------+
| Copycats | Not planned |
+-------------------------+---------------------------------------------------------+
Expand All @@ -23,7 +23,7 @@ Port status:
+-------------------------+---------------------------------------------------------+
|Sequenced Pulse Generator| Implemented, recipe changed |
+-------------------------+---------------------------------------------------------+
| Linked Transmitter | Implemented, completely bugged |
| Linked Transmitter | Not implemented |
+-------------------------+---------------------------------------------------------+
|S. Gearshift instructions| Not implemented |
+-------------------------+---------------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,17 @@ public class CCBlockEntityTypes {
.validBlocks(CCBlocks.CENTRIFUGAL_CLUTCH)
.renderer(() -> SplitShaftRenderer::new)
.register();


/*
//completely bugged
public static final BlockEntityEntry<SimpleKineticBlockEntity> ENCASED_CHAIN_COGWHEEL = REGISTRATE
.blockEntity("encased_chain_cogwheel", SimpleKineticBlockEntity::new)
.instance(() -> EncasedCogInstance::small, false)
.validBlocks(CCBlocks.ENCASED_CHAIN_COGWHEEL)
.renderer(() -> EncasedCogRenderer::small)
.register();
*/

public static final BlockEntityEntry<FreewheelClutchBlockEntity> FREEWHEEL_CLUTCH = REGISTRATE
.blockEntity("freewheel_clutch", FreewheelClutchBlockEntity::new)
.instance(() -> SplitShaftInstance::new, false)
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/com/hlysine/create_connected/CCBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ public class CCBlocks {
.transform(customItemModel())
.register();

/*
//completely bugged
public static final BlockEntry<ChainCogwheelBlock> ENCASED_CHAIN_COGWHEEL =
REGISTRATE.block("encased_chain_cogwheel", ChainCogwheelBlock::new)
.initialProperties(SharedProperties::stone)
Expand All @@ -159,6 +161,8 @@ public class CCBlocks {
.item()
.transform(customItemModel())
.register();
*/

public static final BlockEntry<FreewheelClutchBlock> FREEWHEEL_CLUTCH = REGISTRATE.block("freewheel_clutch", FreewheelClutchBlock::new)
.initialProperties(SharedProperties::stone)
.properties(p -> p.noOcclusion().mapColor(MapColor.PODZOL))
Expand Down Expand Up @@ -393,7 +397,7 @@ public class CCBlocks {
content.accept(BRAKE);
content.accept(BRASS_GEARBOX);
content.accept(CENTRIFUGAL_CLUTCH);
content.accept(ENCASED_CHAIN_COGWHEEL);
//content.accept(ENCASED_CHAIN_COGWHEEL);
content.accept(FREEWHEEL_CLUTCH);
content.accept(INVERTED_CLUTCH);
content.accept(INVERTED_GEARSHIFT);
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/com/hlysine/create_connected/CCItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,20 @@ public class CCItems {
//.transform(FeatureToggle.registerDependent(CCBlocks.PARALLEL_GEARBOX))
.register();

/*
//completely bugged
public static final ItemEntry<LinkedTransmitterItem> LINKED_TRANSMITTER =
REGISTRATE.item("linked_transmitter", LinkedTransmitterItem::new)
.model(AssetLookup.customGenericItemModel("linked_transmitter", "item"))
//.transform(FeatureToggle.register())
.register();
*/
static {
ItemGroupEvents.modifyEntriesEvent(CCCreativeTabs.MAIN.key()).register(content -> {
content.accept(VERTICAL_SIX_WAY_GEARBOX);
content.accept(VERTICAL_BRASS_GEARBOX);
content.accept(VERTICAL_PARALLEL_GEARBOX);
content.accept(LINKED_TRANSMITTER);
//content.accept(LINKED_TRANSMITTER);
});
}
public static void register() {
Expand Down

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/resources/create_connected.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"mixins": [
"linkedtransmitter.AnalogLeverBlockEntityAccessor",
"linkedtransmitter.AnalogLeverBlockMixin",
"linkedtransmitter.ButtonBlockAccessor",
"chaincogwheel.RotationPropagatorMixin"
"linkedtransmitter.ButtonBlockAccessor"
],
"client": [
],
Expand Down

0 comments on commit 49913dc

Please sign in to comment.