-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db045eb
commit cffc08c
Showing
71 changed files
with
1,075 additions
and
3,904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/me/dustin/jex/event/render/EventInitPlayerModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
import net.minecraft.client.model.ModelPart; | ||
|
||
public class EventInitPlayerModel extends Event { | ||
private final ModelPart root; | ||
|
||
public EventInitPlayerModel(ModelPart root) { | ||
this.root = root; | ||
} | ||
|
||
public ModelPart getRoot() { | ||
return root; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/me/dustin/jex/event/render/EventLivingEntityCallRender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
import net.minecraft.entity.LivingEntity; | ||
|
||
public class EventLivingEntityCallRender extends Event { | ||
private final LivingEntity livingEntity; | ||
|
||
public EventLivingEntityCallRender(LivingEntity livingEntity) { | ||
this.livingEntity = livingEntity; | ||
} | ||
|
||
public LivingEntity getLivingEntity() { | ||
return livingEntity; | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/me/dustin/jex/event/render/EventPlayerEntityGetBodyParts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
import net.minecraft.client.model.ModelPart; | ||
import net.minecraft.client.render.entity.model.PlayerEntityModel; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class EventPlayerEntityGetBodyParts extends Event { | ||
private final PlayerEntityModel<?> playerEntityModel; | ||
private final ArrayList<ModelPart> bodyParts; | ||
|
||
public EventPlayerEntityGetBodyParts(PlayerEntityModel<?> playerEntityModel, ArrayList<ModelPart> bodyParts) { | ||
this.playerEntityModel = playerEntityModel; | ||
this.bodyParts = bodyParts; | ||
} | ||
|
||
public ArrayList<ModelPart> getBodyParts() { | ||
return bodyParts; | ||
} | ||
|
||
public PlayerEntityModel<?> getPlayerEntityModel() { | ||
return playerEntityModel; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/main/java/me/dustin/jex/event/render/EventPlayerEntityTexturedModelData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
import net.minecraft.client.model.Dilation; | ||
import net.minecraft.client.model.ModelData; | ||
|
||
public class EventPlayerEntityTexturedModelData extends Event { | ||
private final ModelData modelData; | ||
private final Dilation dilation; | ||
|
||
public EventPlayerEntityTexturedModelData(ModelData modelData, Dilation dilation) { | ||
this.modelData = modelData; | ||
this.dilation = dilation; | ||
} | ||
|
||
public ModelData getModelData() { | ||
return modelData; | ||
} | ||
|
||
public Dilation getDilation() { | ||
return dilation; | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/me/dustin/jex/event/render/EventRenderBodyPart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
|
||
public class EventRenderBodyPart extends Event { | ||
} |
26 changes: 26 additions & 0 deletions
26
src/main/java/me/dustin/jex/event/render/EventShouldFlipUpsideDown.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package me.dustin.jex.event.render; | ||
|
||
import me.dustin.events.core.Event; | ||
import net.minecraft.entity.LivingEntity; | ||
|
||
public class EventShouldFlipUpsideDown extends Event { | ||
private final LivingEntity livingEntity; | ||
private boolean flip; | ||
|
||
public EventShouldFlipUpsideDown(LivingEntity livingEntity, boolean flip) { | ||
this.livingEntity = livingEntity; | ||
this.flip = flip; | ||
} | ||
|
||
public LivingEntity getLivingEntity() { | ||
return livingEntity; | ||
} | ||
|
||
public boolean isFlip() { | ||
return flip; | ||
} | ||
|
||
public void setFlip(boolean flip) { | ||
this.flip = flip; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.