19 lines
560 B
Diff
19 lines
560 B
Diff
--- a/net/minecraft/particles/BlockParticleData.java
|
|
+++ b/net/minecraft/particles/BlockParticleData.java
|
|
@@ -54,4 +54,15 @@
|
|
public BlockState func_197584_c() {
|
|
return this.field_197587_c;
|
|
}
|
|
+
|
|
+ //FORGE: Add a source pos property, so we can provide models with additional model data
|
|
+ private net.minecraft.util.math.BlockPos pos;
|
|
+ public BlockParticleData setPos(net.minecraft.util.math.BlockPos pos) {
|
|
+ this.pos = pos;
|
|
+ return this;
|
|
+ }
|
|
+
|
|
+ public net.minecraft.util.math.BlockPos getPos() {
|
|
+ return pos;
|
|
+ }
|
|
}
|