@@ -117,6 +117,7 @@ val others as IItemStack[][IEntityDefinition] = {
117
117
< entity :horse_colors:horse_felinoid > : [< minecraft :bone > * 4 , < pyrotech :pelt_horse > , < animania :raw_horse > * 4 ],
118
118
< entity :horse_colors:mule > : [< minecraft :bone > * 4 , < pyrotech :pelt_horse > , < animania :raw_horse > * 4 ],
119
119
< entity :minecraft:bat > : [< pyrotech :pelt_bat > ],
120
+ < entity :mocreatures:deer > : [< minecraft :bone > * 3 , < mocreatures :venisonraw > ],
120
121
};
121
122
122
123
val sheepPelts as IItemStack [IItemStack] = {
@@ -146,7 +147,11 @@ val sheepPelts as IItemStack[IItemStack] = {
146
147
< animania :wool:6 > : < pyrotech :pelt_sheep_brown >
147
148
};
148
149
149
- function addDrops (entities as IItemStack [][IEntityDefinition], event as crafttweaker . event. EntityLivingDeathDropsEvent, removeDrops as bool ) as void {
150
+ function addDrops (
151
+ entities as IItemStack [][IEntityDefinition],
152
+ event as crafttweaker . event. EntityLivingDeathDropsEvent,
153
+ removeDrops as bool
154
+ ) as void {
150
155
for entity, items in entities {
151
156
if (!isNull(event . entity. definition) && event . entity.definition. name == entity . name) {
152
157
if (removeDrops) event . drops = [];
@@ -163,7 +168,11 @@ function addDrops(entities as IItemStack[][IEntityDefinition], event as crafttwe
163
168
}
164
169
}
165
170
166
- function dropColoredPelt (pelts as IItemStack [IItemStack], drop as IItemStack, event as crafttweaker . event. EntityLivingDeathDropsEvent) as void {
171
+ function dropColoredPelt (
172
+ pelts as IItemStack [IItemStack],
173
+ drop as IItemStack,
174
+ event as crafttweaker . event. EntityLivingDeathDropsEvent
175
+ ) as void {
167
176
for wool, pelt in pelts {
168
177
if (wool . name == drop . name) {
169
178
event . drops = [];
@@ -173,7 +182,11 @@ function dropColoredPelt(pelts as IItemStack[IItemStack], drop as IItemStack, ev
173
182
}
174
183
}
175
184
176
- function addDropsSheep (entities as IItemStack [][IEntityDefinition], pelts as IItemStack [IItemStack], event as crafttweaker . event. EntityLivingDeathDropsEvent) as void {
185
+ function addDropsSheep (
186
+ entities as IItemStack [][IEntityDefinition],
187
+ pelts as IItemStack [IItemStack],
188
+ event as crafttweaker . event. EntityLivingDeathDropsEvent
189
+ ) as void {
177
190
for entity, items in entities {
178
191
if (!isNull(event . entity. definition) && event . entity.definition. name == entity . name) {
179
192
0 commit comments